今すぐ始める
Discord Bot Tools

Discordbot Create Auto Moderation Rule

Aident Loadout を通じて Discord Bot Tools の Discordbot Create Auto Moderation Rule を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 2/5OAuth 接続

プロバイダーの説明

Creates a new auto moderation rule for a Discord guild. Requires MANAGE_GUILD permission. Use this to set up filters for profanity, spam, excessive mentions, or custom keywords.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • namestring
    必須
    The name of the rule (1-100 characters).
  • actionsarray
    必須
    The actions to execute when the rule is triggered (max 5).
  • enabledboolean
    Whether the rule is enabled. Defaults to false.
  • guild_idstring
    必須
    The unique identifier (snowflake ID) of the Discord guild where the rule will be created.
  • event_typeinteger
    必須
    The event type: 1=MESSAGE_SEND, 2=MEMBER_UPDATE.
  • exempt_rolesarray
    Role IDs not affected by the rule (max 20).
  • trigger_typeinteger
    必須
    The trigger type: 1=KEYWORD (max 6/guild), 3=SPAM (max 1/guild), 4=KEYWORD_PRESET (max 1/guild), 5=MENTION_SPAM (max 1/guild), 6=MEMBER_PROFILE (max 1/guild).
  • exempt_channelsarray
    Channel IDs not affected by the rule (max 50).
  • trigger_metadataobject
    Additional metadata associated with the rule's trigger type.

確認できる出力

  • data
    必須
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必須
    Whether or not the action execution was successful or not

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース