Anti Bad Words
關於本模組
This module will sanction those users who send messages with bad words.
我們強烈建議你使用本模組來管理社群.
Getting Started
在繼續之前,您必須考慮一系列可能影響您執行的任何操作因素:
- Filo 需要以下進階權限:
VIEW_CHANNEL,SEND_MESSAGES,EMBED_LINKS和MANAGE_MESSAGES. - 在執行本主題的指令前,你需要此項權限:
ADMINISTRATOR.
常見錯誤
如果在使用本模組時,如果你沒有開啟下列敘述,你將會得到錯誤:
- 如果 Filo 沒有以下權限:
VIEW_CHANNEL,SEND_MESSAGES,EMBED_LINKS和MANAGE_MESSAGES. ^1^ - 如果使用者沒有這個權限:
ADMINISTRATOR. ^2^ - 如果使用者沒有這個權限:
MANAGE_GUILD. ^2^ - 如果使用者沒有這個權限:
EVADE_SANCTIONS. ^2^ - 如果 Filo 的身分組位階低於這個使用者. ^2^
- 如果 Filo 的身分組位階等於這個使用者. ^2^
^1^ 如果要滿足此要求,模組設置將被重置.
^2^ 如果滿足此要求或以下要求,則該模組將無法工作.
啟用本模組的步驟
步驟 1: 啟用模組
如果要 啟用模組 ,您必須執行以下指令:/anti-bad-words enable.
範例: /anti-bad-words enable.
這個模組可以補充 Auto Moderation.
停用本模組的步驟
步驟 1: 停用模組
如果要 停用模組 ,您必須執行以下指令:/anti-bad-words disable.
範例: /anti-bad-words disable.
新增髒話至辭典的步驟
步驟 1: 新增髒話
如果要 新增髒話 ,您必須執行以下指令:/anti-bad-words word action:Add word:<髒話>.
當您在打指令時,請勿包含 <>.
範例: /anti-bad-words word action:Add word:Kawaii.
從辭典移除髒話的步驟
步驟 1: 移除髒話
如果要 移除髒話 ,您必須執行以下指令:/anti-bad-words word action:Remove word:<髒話>.
當您在打指令時,請勿包含 <>.
範例: /anti-bad-words word action:Remove word:Kawaii.
Steps to enable the aggressive filter
步驟 1: Enable the aggressive filter
如果要 enable the aggressive filter ,您必須執行以下指令:/anti-bad-words aggresive-filter action:Enable.
範例: /anti-bad-words aggresive-filter action:Enable.
Enabling the aggressive filter can cause a higher number of false positives.
Steps to disable the aggressive filter
步驟 1: Disable the aggressive filter
如果要 disable the aggressive filter ,您必須執行以下指令:/anti-bad-words aggresive-filter action:Disable.
範例: /anti-bad-words aggresive-filter action:Disable.
Steps to set a sanction
步驟 1: Set a sanction
如果要 set a sanction ,您必須執行以下指令:/anti-bad-words action action:<動作>.
當您在打指令時,請勿包含 <>.
你可以點擊 這個連結 來查看 Filo 支援的處罰.
範例: /anti-bad-words action action:Temporarily mute the user time:1h.
新增例外頻道的步驟
步驟 1: 新增一個例外的頻道
如果要 新增一個例外的頻道 ,您必須執行以下指令:/anti-bad-words channel action:Add channel:<#頻道/頻道 ID>.
當您在打指令時,請勿包含 <>.
範例: /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.
移除例外頻道的步驟
步驟 1: 移除例外頻道
如果要 移除例外頻道 ,您必須執行以下指令:/anti-bad-words channel action:Remove channel:<#頻道/頻道 ID>.
當您在打指令時,請勿包含 <>.
範例: /anti-bad-words channel action:Remove channel:#general.
If you remove a channel from the allowed list, this module will work on that channel.
新增例外身分組的步驟
步驟 1: 新增例外身分組
如果要 新增例外身分組 ,您必須執行以下指令:/anti-bad-words role action:Add role:<@身分組/身分組 ID>.
當您在打指令時,請勿包含 <>.
範例: /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.
移除例外身分組的步驟
步驟 1: 移除例外身分組
如果要 移除例外身分組 ,您必須執行以下指令:/anti-bad-words role action:Remove role:<@身分組/身分組 ID>.
當您在打指令時,請勿包含 <>.
範例: /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.
重置模組的步驟
步驟 1: 重置模組
如果要 重置模組 ,您必須執行以下指令:/anti-bad-words reset.
範例: /anti-bad-words reset.
你必須謹慎考慮此操作。如果重置,您將無法恢復之前的設定.