A Discord bot that integrates with Skald to answer questions and maintain conversation context in threads.
-
Go to Discord Developer Portal
-
Create new application
-
Go to "Bot" section, create bot (or reset token), copy token
-
Enable "MESSAGE CONTENT INTENT" under Privileged Gateway Intents. Hit Save changes.
-
Go to OAuth2 → URL Generator, select:
- Scopes:
bot,applications.commands - Permissions:
Send Messages,Create Public Threads,Send Messages in Threads
- Scopes:
-
Use generated URL to invite bot to your server. Just copy the URL and open it in your browser.
Generate an API key on platform.useskald.com. Make sure you are logged in the correct account and selected the correct project.
Create and fill the .env file based on .env.example:
cp .env.example .envEdit .env and add your credentials:
DISCORD_TOKEN- Your Discord bot tokenSKALD_API_KEY- Your Skald API key from platform.useskald.com
docker-compose up -ddocker-compose logs -fdocker-compose down