๐Ÿ“š Glyte Bot Docs

Glyte Bot โ€” Setup Guide

Everything you need to install, configure, and self-host Glyte Bot for your Discord server. Commands, troubleshooting, and deployment docs all in one place.

1. Overview

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.

2. Features

โœ… Daily Check-ins

Track member attendance, calculate streaks, and reward consistency.

๐ŸŽฎ Gamification

XP, levels, quests, and role rewards keep engagement high.

๐Ÿช™ Coins & Shop

Members earn coins for activity and spend them on custom rewards.

๐Ÿ“Š Live Dashboard

View overview stats, leaderboards, attendance, leaves, and insights.

๐Ÿ›ก๏ธ Moderation

Moderation tools to manage your community.

๐Ÿš€ Easy Self-Hosting

Docker Compose, environment-based config, and clear setup docs.

3. Create the Discord Bot

  1. Open the Discord Developer Portal.
  2. Click New Application and give it a name.
  3. Go to the Bot tab and click Add Bot.
  4. Under Privileged Gateway Intents, enable Server Members Intent and Message Content Intent.
  5. Copy the bot token under the Token section and keep it secret.

4. Create MongoDB Atlas

Glyte Bot uses MongoDB Atlas, not a local MongoDB server.

5. Install with Docker

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.

6. Environment Variables

VariableDescriptionRequired
DISCORD_TOKENBot token from Discord Developer Portal.Yes
MONGO_URIMongoDB Atlas SRV connection string.Yes
MONGO_DBDatabase name.Yes
DASHBOARD_PUBLIC_URLPublic URL for the dashboard.Recommended
XP_PER_MSGXP earned per message.No
MSG_COOLDOWN_SCooldown in seconds between messages.No
FLUSH_EVERY_SHow often cache flushes.No

7. Invite the Bot

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.

8. Commands

CommandDescription
/checkinDaily attendance check-in.
/dailyClaim daily coins.
/balanceCheck your coin balance.
/shopOpen the rewards shop.
/leaderboardView top members.
/helpShow the full command guide.
/dashboardGet a dashboard auth link.

9. Dashboard

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.

10. Troubleshooting

11. FAQ

Do I need a local MongoDB server?

No. Glyte Bot uses MongoDB Atlas through MONGO_URI.

Can I run this on a free VPS?

Yes, Docker Compose is supported on small VPS instances, but a MongoDB Atlas free tier is required for storage.

How do I update the bot?

Pull the latest code, build, and restart: git pull && docker compose up -d --build.