https://github.com/andreasbackx/mood
Moody moderator bot for simplifying the moderation of Slack teams.
https://github.com/andreasbackx/mood
bot golang slack slack-bot
Last synced: 2 months ago
JSON representation
Moody moderator bot for simplifying the moderation of Slack teams.
- Host: GitHub
- URL: https://github.com/andreasbackx/mood
- Owner: AndreasBackx
- License: mit
- Created: 2018-07-15T22:38:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T22:38:17.000Z (almost 8 years ago)
- Last Synced: 2025-06-09T00:01:45.424Z (about 1 year ago)
- Topics: bot, golang, slack, slack-bot
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mood
Mood is a moody moderator bot for simplifying the moderation of Slack teams.
_Note: This is very much a work in progress, as this was written in an evening as the time of writing this._
## Features
- [x] Action menu to report spam/crossposts
- Report is sent to a private moderation channel
- The reported user is sent a message where the user is asked to remove the message or say whether the report was invalid.
- The response from the reported user is updated in the report sent to the private moderation channel.
- A message is also shown to the user who reported the post confirming that the report was (un)successful.
- [x] Welcome new team members with the rules
- [ ] Provide a `/rules` command as well.
- [ ] Properly update the message when clicking the "Yes!" button.
## Configuration
To get started, install the dependencies using dep:
```shell
dep ensure
```
A `config.json` file is required in the root of the project:
```javascript
{
// Verification token
// Found under the Apps page -> Settings -> Basic Information
"verification_token": "",
// Bot USer OAuth Access Token
// Found under the Apps page -> Features -> OAuth & Permissions
"bot_user_oauth_token": "",
// Name of the group where the bot needs to post the reports.
// The bot needs to be invited to the group.
"report_group_name": "reports",
// Port used to run the server on.
"port" 8000
}
```
In order to run, simply run the `realize start` command which will run all of the necessary commands. See [Realize](https://github.com/oxequa/realize) and [`.realize.yaml`](.realize.yaml) for more info.