Discord Integration

Discord is Narakim's most mature platform integration, with 67 extensions covering the full breadth of the Discord API. Once your Discord bot is connected, Discord events can trigger your automations and Discord actions can send messages, manage members, and more.

Prerequisites

Before connecting Discord, you need:

  1. A Discord Application created at the Discord Developer Portal.
  2. A Bot Token — found in your application's Bot section. Click "Reset Token" to generate one.
  3. Your Application ID — found on the application's General Information page.
  4. (Optional) A Guild ID for server-specific features. Right-click your server in Discord → "Copy Server ID" (requires Developer Mode).
info

Enable Developer Mode in Discord: User Settings → Advanced → Developer Mode.

Connecting Discord

  1. Go to Bot Dossier → Configurations → Connect Platform.
  2. Select Discord from the platform list.
  3. Enter your Bot Token, Application ID, and optionally your Guild ID.
  4. Click Connect.

Narakim will verify the token and establish the connection. Once connected, all 67 Discord extensions appear in your bot's Node Palette.

Bot Permissions & Intents

Ensure your Discord bot has the necessary Gateway Intents enabled in the Developer Portal:

  • GUILDS — Required for all guild-related events.
  • GUILD_MESSAGES + MESSAGE_CONTENT — Required for reading message content.
  • GUILD_MEMBERS — Required for member join/leave/update events.
info

Important: The MESSAGE_CONTENT intent requires verification for bots in more than 75 servers. For development, enable it freely; for production at scale, apply for verification via the Discord Developer Portal.

Trigger Extensions (26 total)

Message Triggers

ExtensionFires WhenKey Outputs
Message CreateA new message is sentcontent, author, channelId, guildId, attachments
Message UpdateA message is editedcontent, author, channelId, oldContent
Message DeleteA message is deletedmessageId, channelId, guildId
Message Reaction AddA reaction is addedemoji, userId, channelId, messageId
Message Reaction RemoveA reaction is removedemoji, userId, channelId, messageId

Interaction Triggers

ExtensionFires WhenKey Outputs
Slash CommandA user runs a slash commandcommandName, options, user, channelId, interactionId, interactionToken
Button ClickA user clicks a button componentcustomId, user, channelId, messageId, interactionToken
Select MenuA user makes a dropdown selectioncustomId, values, user, channelId, interactionToken
Modal SubmitA user submits a modal formcustomId, fields, user, interactionToken
AutocompleteA user types in an autocomplete fieldcommandName, focusedOption, currentValue, interactionToken

Member & Guild Triggers

ExtensionFires When
Guild Member AddA member joins the server
Guild Member RemoveA member leaves or is removed
Guild Member UpdateA member's roles or nickname changes
Guild Ban Add / RemoveA ban is applied or lifted
Guild Role Create / Update / DeleteA role is created, changed, or deleted
Voice State UpdateA user joins/leaves/moves voice channels

Action Extensions (41 total)

Sending Messages

info

Important: Send Message requires a channel ID (not a user ID). To send a private message, use Send DM with a user ID instead. Using a user ID with Send Message will return a 404 Unknown Channel error.

ExtensionDescription
Send MessagePost a message to a guild channel, thread, or forum
Send DMSend a private message directly to a user
Edit MessageEdit an existing message by channel and message ID
Delete MessageDelete a message by channel and message ID
Reply to InteractionRespond to a slash command, button, or select menu interaction
Defer InteractionAcknowledge an interaction immediately; follow up later

Member Management

ExtensionDescription
Add RoleAssign a role to a member
Remove RoleRemove a role from a member
Kick MemberRemove a member from the server
Ban MemberPermanently ban a member
Timeout MemberTemporarily mute a member
Unban MemberLift a ban

Channel & Thread Management

ExtensionDescription
Create ChannelCreate a new text, voice, or category channel
Delete ChannelDelete a channel
Create ThreadCreate a thread in a channel
Add Thread MemberAdd a user to a thread

Common Patterns

Message → AI → Reply

[Message Create] → [OpenRouter AI] → [Send Message]

Map content from the trigger to the AI's message input. Map the AI's response to the Send Message's content.

Slash Command → Lookup → Reply

[Slash Command] → [HTTP Request] → [Reply to Interaction]

Use options[0].value from the slash command trigger as input to your API lookup, then reply with the result.

Member Join → Welcome Message

[Guild Member Add] → [Send Message (Welcome Channel)]

Use {{trigger.data.user.username}} in the message content to personalize the greeting.

Was this helpful?
historyLast updated: May 10, 2026