Get Discord API Key

To use the Discord node, you need a Bot Token. This guide describes how to create a Discord Bot.


πŸ“‹ Prerequisites

  • βœ… Discord Account (Server Admin rights required)

πŸš€ API Key Issuance Steps

Step 1: Create Application

  1. Go to Discord Developer Portal
  2. Click "New Application"
  3. Enter Name and Create

Step 2: Create Bot

  1. "Bot" in left menu
  2. Click "Add Bot" confirmation
  3. Uncheck "Public Bot" (Optional, for security)
  4. Click "Reset Token" to see token
  5. Copy Token (MTk...)

Step 3: Invite to Server

  1. "OAuth2" -> "URL Generator" in left menu
  2. Check bot scope
  3. Check Send Messages permission
  4. Copy generated URL at bottom
  5. Open URL in browser and invite bot to your server

Step 4: Check Channel ID

  1. Open Discord Settings -> Advanced -> Enable Developer Mode
  2. Right click the channel you want to send messages to
  3. Click "Copy ID"

βš™οΈ CodeFreeAI Configuration

  1. Add Node: Drag "Discord" node
  2. Enter Token: Paste Bot Token into "Bot Token" field
  3. Enter Channel ID: Paste Channel ID into "Channel ID" field

🎯 Next Steps

results matching ""

    No results matching ""