Feature/5 rework default permissions for slash commands #8

Merged
AstroGD merged 3 commits from feature/5-rework-default-permissions-for-slash-commands into dev 2022-11-25 18:55:36 +01:00
Showing only changes of commit 545bda9bee - Show all commits

View File

@ -2,10 +2,10 @@
A Discord bot that checks Discord channel names for banned words and prevents renaming of them A Discord bot that checks Discord channel names for banned words and prevents renaming of them
## Commands ## Commands
### /logchanel [channel?] ### /logchanel [channel?] `Permission: MANAGE_GUILD`
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. 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 `Permission: MANAGE_GUILD`
#### /blocklist get #### /blocklist get
Gets the global and server specific banned word list and returns it Gets the global and server specific banned word list and returns it
@ -15,10 +15,10 @@ Adds the word to the server specific blocklist
#### /blocklist remove [word] #### /blocklist remove [word]
Removes the word from the server specific blocklist Removes the word from the server specific blocklist
### /info ### /info `Permission: EVERYONE`
Returns general information about the bot and the servers stats Returns general information about the bot and the servers stats
### /preservesettings ### /preservesettings `Permission: ADMINISTRATOR`
Changes the behaviour when the bot leaves the server. Changes the behaviour when the bot leaves the server.
Options are: Options are:
- Keep settings persistent even if the bot leaves - Keep settings persistent even if the bot leaves