Commencer maintenant
Discord Bot Tools

Discordbot Create Auto Moderation Rule

Utilisez Discordbot Create Auto Moderation Rule avec Discord Bot Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • namestring
    Obligatoire
    The name of the rule (1-100 characters).
  • actionsarray
    Obligatoire
    The actions to execute when the rule is triggered (max 5).
  • enabledboolean
    Whether the rule is enabled. Defaults to false.
  • guild_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the Discord guild where the rule will be created.
  • event_typeinteger
    Obligatoire
    The event type: 1=MESSAGE_SEND, 2=MEMBER_UPDATE.
  • exempt_rolesarray
    Role IDs not affected by the rule (max 20).
  • trigger_typeinteger
    Obligatoire
    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.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur