Anti Spam

關於本模組

This module will sanction those users who send too many messages in a short time or identical messages in a short time.

我們強烈建議你使用本模組來管理社群.

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-spam enable.

範例: /anti-spam enable.

這個模組可以補充 Auto Moderation.

停用本模組的步驟

步驟 1: 停用模組

如果要 停用模組 ,您必須執行以下指令:/anti-spam disable.

範例: /anti-spam disable.

設定數量和時間的步驟

步驟 1: 設定數量和時間

如果要 設定數量和時間 ,您必須執行以下指令:/anti-spam duplicates threshold:<進入點> time:<時間>.

當您在打指令時,請勿包含 <>.

範例: /anti-spam duplicates threshold:4 time:5s

數值必須大於 2 (進入點).

Steps to set a sanction

步驟 1: Set a sanction

如果要 set a sanction ,您必須執行以下指令:/anti-spam action action:<動作>.

當您在打指令時,請勿包含 <>.
你可以點擊 這個連結 來查看 Filo 支援的處罰.

範例: /anti-spam action action:Temporarily mute the user time:1h.

新增例外頻道的步驟

步驟 1: 新增一個例外的頻道

如果要 新增一個例外的頻道 ,您必須執行以下指令:/anti-spam channel action:Add channel:<#頻道/頻道 ID>.

當您在打指令時,請勿包含 <>.

範例: /anti-spam 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-spam channel action:Remove channel:<#頻道/頻道 ID>.

當您在打指令時,請勿包含 <>.

範例: /anti-spam channel action:Remove channel:#general.

If you remove a channel from the allowed list, this module will work on that channel.

新增例外身分組的步驟

步驟 1: 新增例外身分組

如果要 新增例外身分組 ,您必須執行以下指令:/anti-spam role action:Add role:<@身分組/身分組 ID>.

當您在打指令時,請勿包含 <>.

範例: /anti-spam 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-spam role action:Remove role:<@身分組/身分組 ID>.

當您在打指令時,請勿包含 <>.

範例: /anti-spam 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-spam reset.

範例: /anti-spam reset.

你必須謹慎考慮此操作。如果重置,您將無法恢復之前的設定.