Commencer maintenant
Discord Bot Tools

Discordbot Create Guild Role

Utilisez Discordbot Create Guild Role 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 role in a Discord guild with customizable name, permissions, color, hoist, mentionability, and icon. Requires MANAGE_ROLES permission. The icon and unicode_emoji fields are mutually exclusive.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • iconstring
    Hash of a custom image for the role's icon. Mutually exclusive with unicode_emoji.
  • namestring
    Name for the new role. If omitted, Discord defaults to 'new role'.
  • colorinteger
    RGB color value for the role as an integer (e.g., red is 16711680). Defaults to 0 (no color).
  • hoistboolean
    If true, displays the role separately in the member list. Defaults to false.
  • guild_idstring
    Obligatoire
    The unique identifier (snowflake ID) of the Discord guild where the role will be created.
  • mentionableboolean
    If true, this role can be mentioned by others. Defaults to false.
  • permissionsstring
    Bitwise integer for role permissions combined from Discord permission flags.
  • unicode_emojistring
    Standard Unicode emoji for the role's icon. Mutually exclusive with icon.

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