Skip to content

Discord

All you need is an Application ID and a Bot Token to connect your Discord bot to nexu.

Step 1: Create a Discord application

  1. Go to the Discord Developer Portal and click "New Application".

Discord Applications page

  1. Enter the application name and click "Create".

Create application

  1. On the "General Information" page, copy and save:
    • Application ID

Get Application ID

  1. In the left menu, go to "Bot", click "Reset Token" to generate a Bot Token, and copy it:
    • Bot Token

Generate Bot Token

Step 2: Add credentials to nexu

Open the nexu client, enter the App ID and Bot Token in the Discord channel settings, and click "Connect".

Add credentials in nexu

Step 3: Configure permissions and invite the bot

  1. Back in the Discord Developer Portal, on the "Bot" page, enable the following Privileged Gateway Intents:
    • Message Content Intent

Enable Message Content Intent

  1. In the left menu, go to "OAuth2". Under Scopes, select bot. Under Bot Permissions, select Administrator.

Select Scopes & Bot Permissions

  1. Copy the generated URL at the bottom of the page and open it in your browser.

Copy generated URL

  1. Select your server and click "Continue".

Select server

  1. Confirm the permissions and click "Authorize" to add the bot.

Authorize bot

Step 4: Test

Once connected, click "Chat" in the nexu client to jump to Discord and chat with your bot 🎉

Discord connected

FAQ

Q: Do I need a public server?

No. nexu uses the Discord Gateway (WebSocket) — no public IP or callback URL required.

Q: The bot doesn't reply to messages?

Make sure you've enabled Message Content Intent, otherwise the bot cannot read message content.