Quick Start Guide
Get your pwr-bot instance up and running quickly using Docker Compose. This is the fastest and recommended method for deployment.Prerequisites
Before you begin, ensure you have:- Docker installed
- A Discord account with permissions to create applications
- Basic knowledge of command-line operations
If you prefer to run without Docker, see the Manual Installation guide.
Step 1: Discord Application Setup
First, create a Discord bot application:Create Application
Go to the Discord Developer Portal and create a New Application. Give it a meaningful name.
Get Bot Token
Navigate to the Bot tab:
- Click Reset Token to generate your
DISCORD_TOKEN - Save this token securely - you’ll need it in the next step
- Under Privileged Gateway Intents, enable Message Content Intent
Configure Permissions
Navigate to OAuth2 → URL Generator:
- Select Scopes:
bot,applications.commands - Select Bot Permissions:
View ChannelsSend MessagesEmbed LinksRead Message History(Required for the!registercommand)
- Copy the generated URL
Invite Bot to Server
Use the generated URL to invite the bot to your Discord server. Make sure you have “Manage Server” permissions.
Step 2: Deploy with Docker Compose
Now let’s get the bot running:Configure Environment
Copy the example environment file and edit it with your values:At minimum, set these required variables:Optional configuration:
.env
To find your Discord User ID: Enable Developer Mode in Discord settings, then right-click your username and select “Copy User ID”.
.env
Start the Bot
Launch the bot using Docker Compose:The bot will:
- Pull the latest image from GitHub Container Registry
- Create persistent volumes for data and logs
- Start in detached mode
- Automatically restart unless stopped manually
The docker-compose.yml configuration:
Step 3: Register Commands
After the bot is running, register the slash commands:For server administrators (without owner access), use
!register or !unregister commands instead. These require “Administrator” or “Manage Server” permissions.Step 4: Test Your Bot
Try out the bot’s features:Feed Subscription Example
Subscribe to an anime or manga feed:- Parse and validate the URL
- Create a subscription for your DM
- Send you notifications when new episodes/chapters are released
Voice Tracking Example
View the voice activity leaderboard:- Server-wide voice activity rankings
- Your current position
- Total time spent in voice channels
- Customizable time ranges (24h, 7d, this month, etc.)
Next Steps
Now that your bot is running:Configure Settings
Explore all configuration options and customize behavior
Feed Subscriptions
Learn about supported platforms and subscription management
Voice Tracking
Set up voice channel tracking and view detailed statistics
Commands Reference
See all available commands and their options
Troubleshooting
Bot won’t start
- Verify your
DISCORD_TOKENis correct - Ensure Docker is running
- Check logs:
docker compose logs app
Commands not appearing
- Wait a few minutes after registration
- For guild registration: Commands should appear immediately
- For global registration: May take up to 1 hour
- Try kicking and re-inviting the bot
Permission errors
- Verify the bot has required permissions in your server
- Check that “Message Content Intent” is enabled in Discord Developer Portal
- Ensure your user ID matches
ADMIN_IDfor owner commands
Database issues
- Database migrations run automatically on startup
- Check that the
datavolume has write permissions - View logs for migration errors:
docker compose logs app | grep migration