Add bot to repo

This commit is contained in:
2026-06-26 16:02:46 -04:00
parent 2a817aa816
commit 932c40f095
3 changed files with 721 additions and 0 deletions

17
env.example Normal file
View File

@@ -0,0 +1,17 @@
# ─── Discord ──────────────────────────────────────────────────────────────────
DISCORD_TOKEN=your_bot_token_here
DISCORD_CLIENT_ID=your_application_client_id
DISCORD_GUILD_ID=your_guild_id_here # Remove or leave blank for global slash commands
# Prefix for !char and !rankings commands (default: !)
BOT_PREFIX=!
# Channel ID where daily rankings will be posted (right-click channel → Copy Channel ID)
RANKINGS_CHANNEL_ID=your_channel_id_here
# ─── Database (same as MapleCore .env.local) ──────────────────────────────────
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=root
DB_NAME=cosmic