.env file at the project root. The bot loads that file with python-dotenv, and the modular startup path in bot.py reads the values during startup.
Variable reference
Recommended .env example
What to remember
- Keep
.envout of version control. - Update
LAVALINK_URIandLAVALINK_PASSWORDtogether whenever you change the Lavalink host or password. - The default values are safe for the provided Docker setup, but you should override them when you deploy the bot to another machine.
Related Topics
Quickstart
Get the bot running in minutes — clone, configure, and play your first song.
Lavalink Setup
Deep-dive into running and tuning the Lavalink Docker node.
Discord Bot/Application Setup
Create a Discord application, configure the required gateway intents, generate an invite URL, and run the bot against your Lavalink node.
Playback Commands
Full reference for every slash command the bot exposes.