d73dfba096a8aa2f66a3ab076d612dcdad8a38ef
Lotus Discord Bot
Discord bot for the Lotus Guild server with auto-deployment from Gitea.
Features
- Daily adjective posting
- Minecraft server whitelist management
- Custom LLM integration (Lotus LLM)
- Fun commands (8ball, fortune, dice, etc.)
- Game-specific commands (Valorant agents, LoL champions)
- Server audit logging
- Reaction roles
Auto-Deployment Setup
The bot automatically deploys when code is pushed to Gitea.
Deployment Components
- Webhook Listener: Runs on port 9000 on the production server
- Deployment Script:
/usr/local/bin/discord_bot_deploy.sh - Service:
discord.serviceruns the bot
Webhook Configuration
- Endpoint:
http://10.10.10.6:9000/hooks/discord-bot-deploy - Secret:
discord-bot-secret-lotus-2026 - Header:
X-Gitea-Signature
Manual Deployment
If needed, you can manually trigger deployment:
ssh root@10.10.10.6
/usr/local/bin/discord_bot_deploy.sh
Production Server
- Host: 10.10.10.6
- Bot Directory:
/mnt/discordBot/ - Service:
discord.service - User: jared
Local Development
The bot requires:
- Python 3
- discord.py
- python-dotenv
- aiohttp
- mcrcon
Environment variables in .env:
DISCORD_TOKEN
Commands
Run /help in Discord to see all available commands.
Description
Languages
Python
97.2%
Shell
2.8%