Install dependencies
Install all required Python packages:
Junkie requires Python 3.12 or higher. Make sure you have the correct version installed.
Configure environment variables
Create a
.env file in the root directory with your Discord token and API keys:.env
Next steps
Now that you have Junkie running, you can:- Configure advanced settings in your
.envfile - Explore available commands and features
- Customize the AI model and provider settings
- Set up tracing and debugging for development
Bot initialization
Here’s how Junkie initializes under the hood:main.py
SelfBot class that wraps discord.py-self with a command prefix of . for bot commands.