This module will sanction those users who send messages with bad words.
We recommend using this module if you manage a community.
Before proceeding with this article, you must take into account a series of elements that can influence when you are going to carry out any action described on this page:
Filo requires the following advanced permissions: VIEW_CHANNEL
, SEND_MESSAGES
, EMBED_LINKS
and MANAGE_MESSAGES
.
You need ADMINISTRATOR
permission to perform most of the actions in this article.
This module has exceptions, which means that it won't work if some of the requirements mentioned below are met:
If Filo doesn't have VIEW_CHANNEL
, SEND_MESSAGES
, EMBED_LINKS
and MANAGE_MESSAGES
permissions. 1
If the user has the ADMINISTRATOR
permission. 2
If the user has the MANAGE_GUILD
permission. 2
If the user has the EVADE_SANCTIONS
permission. 2
If the position of the Filo's roles are lower than the user roles. 2
If the position of the Filo's roles are equal to the user roles. 2
1 If this requirement is met, the module settings will be reset.
2 If this or some of the requirements are met, the module won't work.
To enable the module you must execute the following command: /anti-bad-words enable.
Example: /anti-bad-words enable.
This module can be supplemented with the Auto Moderation module.
To disable the module you must execute the following command: /anti-bad-words disable.
Example: /anti-bad-words disable.
To ban a bad word you must execute the following command: /anti-bad-words word action:Add
word:<Bad word>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words word action:Add
word:Kawaii
.
To unban a bad word you must execute the following command: /anti-bad-words word action:Remove
word:<Bad word>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words word action:Remove
word:Kawaii
.
To enable the aggressive filter you must execute the following command: /anti-bad-words aggresive-filter action:Enable
.
Example: /anti-bad-words aggresive-filter action:Enable
.
Enabling the aggressive filter can cause a higher number of false positives.
To disable the aggressive filter you must execute the following command: /anti-bad-words aggresive-filter action:Disable
.
Example: /anti-bad-words aggresive-filter action:Disable
.
To set a sanction you must execute the following command: /anti-bad-words action action:<Action>
.
Don't include
<>
when you're running the command.
You can see a full list of actions that Filo supports by clicking here.
Example: /anti-bad-words action action:Temporarily mute the user
time:1h
.
To add a channel to the allowed list you must execute the following command: /anti-bad-words channel action:Add
channel:<#Channel/Channel ID>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words channel action:Add
channel:#spam-allowed
.
If you add a channel to the allow list, this module will not work on that channel.
To remove a channel to the allowed list you must execute the following command: /anti-bad-words channel action:Remove
channel:<#Channel/Channel ID>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words channel action:Remove
channel:#general
.
If you remove a channel from the allowed list, this module will work on that channel.
To add a role to the allowed list you must execute the following command: /anti-bad-words role action:Add
role:<@Role/Role ID>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words role action:Add
role:@Moderators
.
If you add a role to the allowed list, anyone who has this role will be exempt from the operation of this module.
To remove a role to the allowed list you must execute the following command: /anti-bad-words role action:Remove
role:<@Role/Role ID>
.
Don't include
<>
when you're running the command.
Example: /anti-bad-words role action:Remove
role:@Moderators
.
If you remove a role from the allowed list, anyone who has this role will no longer be exempt from the operation of this module.
To reset the module settings you must execute the following command: /anti-bad-words reset.
Example: /anti-bad-words reset.
You'll be forced to confirm the action you are about to take. Once you have confirmed the action, you won't be able to recover the previous data.