/badwords¶
Tip
This command requires the administrator permission by default.
To learn how to change this, please check the faq command.
All of commands related to the badwords feature.
/badwords enable¶
Enables the badwords feature.
This feature allows you to have certain words or phrases censored in your server. You can configure words to be turned into spoilers, or have them deleted altogether.
/badwords disable¶
Disables the badwords feature
/badwords list¶
Lists all of the words, currently censored in your server.
/badwords add¶
Adds words to the list of censored words.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| words_string | str | A series of words, separated by spaces, to add to the list | None |
/badwords remove¶
Removes words from the censored wordslist.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| words_string | str | A series of words, separated by spaces, to remove from the list | None |
/badwords clear¶
Removes all of the words from your censored wordslist.
/badwords mode¶
Sets whether censored words get spoilered or the whole message deleted.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| mode | Literal["spoiler", "delete"] | spoiler hides bad words in a repost, delete removes the message outright | None |