Jared Vititoe ea91a40053 Fix trivia, update agents/champions, rename /status, fix OLLAMA env var
- Fix trivia: 25 questions with 4 answer buttons (A/B/C/D), 30s timeout,
  per-user answer tracking, gaming + internet culture categories
- Update Valorant agents: add Clove, Tejo, Waylay, Vyse, Veto (28 total)
- Update LoL champions: expand from ~70 to ~166 champions across all lanes
- Rename /status to /health to avoid Wordle conflict
- Fix OLLAMA_HOST env var mismatch (code read OLLAMA_URL, .env has OLLAMA_HOST)
- Add /trivia to help command

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 20:41:16 -05:00

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

  1. Webhook Listener: Runs on port 9000 on the production server
  2. Deployment Script: /usr/local/bin/discord_bot_deploy.sh
  3. Service: discord.service runs the bot

Webhook Configuration

  • Endpoint: http://10.10.10.6:9000/hooks/discord-bot-deploy
  • Secret: discord-bot-secret
  • 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
Discord bot for the Lotus Guild server with auto-deployment from Gitea.
Readme 182 KiB
Languages
Python 97.5%
Shell 2.5%