my-friendly-slackbot

My Friendly #SlackBot is a slackbot that makes Slack more friendly

Usage no npm install needed!

<script type="module">
  import myFriendlySlackbot from 'https://cdn.skypack.dev/my-friendly-slackbot';
</script>

README

Friendly Slackbot

Friendly, is a self hosted Slackbot which can help you to create a more inclusive environment on for your employees on Slack.

Currently Friendly supports:

  • Letting you know a new channel has been created on slack in a channel called #_new_channel_bot
  • Nudge people with a private message if they are using language that is not inclusive
  • Nudge people with a private message if they use offensive language, list comes from https://github.com/zacanger/profane-words/blob/master/words.json

Installation

Create a slack app

Create your instance of Friendly

require('dotenv').config();

require('my-friendly-slackbot')(process.env.SLACK_SIGNING_SECRET, process.env.SLACK_BOT_TOKEN, {
    newChannel = true, 
    inclusiveLanguageWarning = true,
    offensiveLanguageWarning = true,
});

Options

Currently Friendly supports the following options:

newChannel (true/false)

Enables reporting when a new channel has been created, requires a channel called #_new_channel_bot to pre-exist.

inclusiveLanguageWarning (true/false)

Enables nudging people with a private message if they are using language that is not inclusive

offensiveLanguageWarning (true/false)

Enables nudging people with a private message if they use offensive language.

The list currently comes from https://github.com/zacanger/profane-words/blob/master/words.json