Discord Bot icon

Discord Bot

Send messages and manage slash commands for Discord bots

Delete Role

AI-generated

Summary

Deletes a role from the specified Discord guild using the bot. Optionally records a reason in the guild audit log.

Inputs

  • Guild ID (required) — ID of the guild containing the role. Can be passed from a trigger with {{ $JSON.guildId }}.
  • Role ID (required) — ID of the role to delete.
  • Reason — Optional reason recorded in the guild audit log.

Output shape

A list of n8n items containing the deleted role data.

The source excerpt does not show the operation’s implementation or its return shape, so the output shape cannot be confirmed.

Links

Discussion