Everything you need to install, configure, and self-host Glyte Bot for your Discord server. Commands, troubleshooting, and deployment docs all in one place.
Open SourceDockerDiscord.pyMongoDB Atlas
Glyte Bot is a modular Discord bot built for communities, teams, and servers that want built-in attendance tracking, gamification, coins, quests, shop, moderation, and a live dashboard. It runs as a Docker container and stores data in MongoDB Atlas.
Track member attendance, calculate streaks, and reward consistency.
XP, levels, quests, and role rewards keep engagement high.
Members earn coins for activity and spend them on custom rewards.
View overview stats, leaderboards, attendance, leaves, and insights.
Moderation tools to manage your community.
Docker Compose, environment-based config, and clear setup docs.
Glyte Bot uses MongoDB Atlas, not a local MongoDB server.
0.0.0.0/0 for the VPS IP or use Atlas network access rules.git clone https://github.com/Buriatma/attendance-discord-bot.git
cd attendance-discord-bot
cp .env.example .env
docker compose up -d --build
After the build completes, the bot and dashboard start on port 8080. Check logs with docker compose logs bot.
| Variable | Description | Required |
|---|---|---|
DISCORD_TOKEN | Bot token from Discord Developer Portal. | Yes |
MONGO_URI | MongoDB Atlas SRV connection string. | Yes |
MONGO_DB | Database name. | Yes |
DASHBOARD_PUBLIC_URL | Public URL for the dashboard. | Recommended |
XP_PER_MSG | XP earned per message. | No |
MSG_COOLDOWN_S | Cooldown in seconds between messages. | No |
FLUSH_EVERY_S | How often cache flushes. | No |
Generate an OAuth2 invite URL with bot scope and these permissions: Send Messages, Read Message History, Manage Messages, Use Slash Commands, Embed Links. Then add it to your server.
| Command | Description |
|---|---|
/checkin | Daily attendance check-in. |
/daily | Claim daily coins. |
/balance | Check your coin balance. |
/shop | Open the rewards shop. |
/leaderboard | View top members. |
/help | Show the full command guide. |
/dashboard | Get a dashboard auth link. |
The dashboard is available at https://glyte-bot.duckdns.org/dash/ after running /dashboard in Discord. It shows overview stats, leaderboards, attendance, leaves, bounties, standups, and insights.
docker compose logs bot and check that the dashboard is running on the correct port.MONGO_URI and Atlas network access./dashboard again to generate a fresh link.No. Glyte Bot uses MongoDB Atlas through MONGO_URI.
Yes, Docker Compose is supported on small VPS instances, but a MongoDB Atlas free tier is required for storage.
Pull the latest code, build, and restart: git pull && docker compose up -d --build.