Skip to content

nikanar/ACCM-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Simple slack bot for ACCM

Tested with python3

Installing slackclient

pip install slackclient --user

Installing fastText

cd ACCM-bot/accmbot
git clone https://github.com/facebookresearch/fastText.git
cd fastText/
make

And you're good to go ! This is also well documented online and there are even some unofficial instructions for Windows. If you install fastText somewhere else than in the accmbot folder, then you will need to adapt the fasttext_cmd variable in fasttext.py.

Installing the bot at ACCM's Slack

Follow instructions at https://api.slack.com/bot-users, up to and including step 3/ Installing the bot to a workspace. You'll get a bot token. Change the token in file start_bot.py for yours.

Start the bot (python start_bot.py, on your Heroku), and hope for the best !

Anticipated problems : channels have to be managed right, lines 13 (CHANNEL_IDS) and 17-20 (TODO)

For triggering on all Slack channels

Likely takes a bit of code : see https://pridehacks2018.slack.com/archives/CC2SSGH18/p1535670226000100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages