Empezar ahora
Discord Bot Tools

Discordbot Create Auto Moderation Rule

Usa Discordbot Create Auto Moderation Rule con Discord Bot Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión OAuth

Descripción del proveedor

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.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

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

Salida observable

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

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor