5 Commits

Author SHA1 Message Date
Benjamyn
e458214467 fix: add ! prefix commands to main.py
- Added !ping, !info, !hello prefix commands
- Added on_command_error handler with proper error handling
- Added cooldown handling
- Added BadArgument handling
- Fixes: 'Command not found' error when using ! prefix commands
2026-08-27 16:35:46 +10:00
Benjamyn
f7bdec8195 feat: add debug logging gated by APP_DEBUG environment variable
- Added APP_DEBUG environment variable to enable debug mode
- Debug mode prints detailed logs to console and file (bot.log)
- Debug mode includes Discord library internals (discord, discord.ext.commands, etc.)
- File handler rotates at 10MB, keeping 5 backup files
- Console handler only active when DEBUG is enabled
- Default logging level is WARNING (non-debug) to reduce noise
2026-08-27 16:30:10 +10:00
Benjamyn
1b08e58aa0 fix: rename command aliases to avoid collision
- /edit-emoji now uses alias 'edit' only
- /rename now uses alias 'rename-emoji' only
- Fixes: 'The command rename is already an existing command or alias' error
2026-08-27 16:18:38 +10:00
Benjamyn
087fea31b0 fix: await bot.add_cog() in cogs/admin.py 2026-08-27 16:17:12 +10:00
Benjamyn
43ca943cb8 feat: A.B.I.N.A.S.H Discord bot with GIF emotes, slash commands, and music
- Core bot with slash command tree (discord.py 2.7.x compatible)
- Commands: /ping, /info, /hello, /emoji, /app-emoji
- Admin: /upload-emoji, /list-emojis, /delete-emoji
- GIF emote detection and reaction handling
- Message reactions with percentage-based triggers and cooldowns
- Voice/music cog with YTDLSource, skip, volume, pause, resume, stop
- Global error handler and voice state change logging
- Environment config via .env (DISCORD_TOKEN, COMMAND_PREFIX, etc.)
2026-08-27 16:05:27 +10:00