Skip to main content

Prerequisites

Required Software

  • Go 1.24+download
  • libopus — required for voice channel audio decoding

macOS

brew install opus opusfile

Linux (Debian/Ubuntu)

apt install libopus-dev libopusfile-dev

Required Accounts & Tokens

TokenPurposeWhere to get it
Discord bot tokenConnect to DiscordDiscord Developer Portal
LLM API keyChat completionsOpenAI or any compatible provider
STT API keyVoice transcription (optional)Same as LLM key if using OpenAI

The LLM API key is required. The STT API key is only needed if you want voice commands.

See Discord Setup for a walkthrough on creating a Discord bot.