How ahnti/cheesy works
This repository is a Discord bot with conversational AI, guild/user memory, utility commands, and a small fun-command cog. Users interact through Discord messages and commands; the bot may build AI context from conversation and stored memory, then respond in the channel. Other visible capabilities include image lookup, email sending, and YouTube audio extraction. The excerpts show only parts of main.py, so links to unsampled command registration and integrations are omitted; keep_alive.py is included as a separate web-server component, with no verified connection to startup.
Main entry points: main.py Discord bot · fun.py Fun commands · keep_alive.py Keep-alive web server
Components 14
Bot Runtime
- Discord bot
main.py
Bot Features
- AI chat
main.py - Conversation memory
main.py - Bot commands
main.py - YouTube audio
main.py - Email command
main.py - Fun commands
cogs/fun.py
Web Service
- Keep-alive web server
keep_alive.py
Other components
- Discord users
- Gemini API
- Safebooru API
- YouTube
- Email service
- Web monitor
Connections 13
- Discord users → Discord bot: send messages
main.py - Discord bot → AI chat: handles messages
main.py - AI chat → Conversation memory: builds context
main.py - AI chat → Gemini API: requests generation
main.py - Discord bot → Bot commands: processes commands
main.py - Discord users → Fun commands: invoke commands
cogs/fun.py - Fun commands → Safebooru API: fetches images
cogs/fun.py - Discord users → YouTube audio: request audio
main.py - YouTube audio → YouTube: extracts audio
main.py - Discord users → Email command: send message
main.py - Email command → Email service: sends email
main.py - Web monitor → Keep-alive web server: checks endpoint
- Discord bot → Keep-alive web server: may start
main.py