/blocklist

This commit is contained in:
2022-11-24 15:36:33 +01:00
parent 317da97cd3
commit a26fb2df12
11 changed files with 285 additions and 30 deletions

View File

@ -5,6 +5,16 @@ A Discord bot that checks Discord channel names for banned words and prevents re
### /logchanel [channel?]
Sets the channel where the bot will log if a channel meets the banned word criteria. If channel is omitted, the log channel will be disabled.
### /blocklist
#### /blocklist get
Gets the global and server specific banned word list and returns it
#### /blocklist add [word]
Adds the word to the server specific blocklist
#### /blocklist remove [word]
Removes the word from the server specific blocklist
## Environment variables
| Name | Description | Required | Example |
| :---------- | :------------------------------------------------------------ | :------: | :------------------ |