A Moderator for Slack.
- Create a new Slack App with following permissions:
admin,bot,channels:history,channels:read,channels:write,chat:write:bot,files:read,files:write:user,groups:read,groups:write,users:read. - Install the bot on Heroku
- Adds the bot to all channels at initialization
- Deletes uploaded images and reuploads them to Imgur
- Mutes an user (type in
ares mute <username>) - Moderators
Ares can make some members as moderators. To add moderators, make sure you have set MOD_IDS env variable with the comma separated user ids of the mods, like U1URMZHTV,U0URMZHTV,U0URMZHTV
Currently, moderators can remove or mute other users.
Run ./build.sh to build the docker image and run following:
docker run --name ares --rm --env-file ./envlist ares:latest
If you keep it running in background and restart always:
docker run --name ares -d --restart always --env-file ./envlist ares:latest
The mighty MIT license. Please check LICENSE for more details.