Commit Graph

61 Commits

Author SHA1 Message Date
5ebe8a8e21 Change stats command to duckstats to avoid conflicts with other bots 2025-09-13 15:41:55 +01:00
746957bc17 Fix help command organization and stats message output
- Added player_stats message type to force_public config
- Stats messages now always appear in public channel instead of as notices
- Non-admin users no longer see ignore/unignore commands in help
2025-09-13 15:39:55 +01:00
b198ef2b9e Remove unknown command handler to avoid interfering with other bots
- Removed the 'Unknown command! Use !duckhelp' message for unrecognized commands
- Bot now only responds to valid duckhunt commands and stays silent for others
- This allows other bots in the channel to handle their own commands without interference
2025-09-13 15:35:50 +01:00
34daa04238 Fix command handling and improve help system 2025-09-13 15:34:05 +01:00
6854e88037 Fix messages being sent as notices instead of public by default
- Changed new player default 'notices' setting from True to False
- Added specific message types for duck_miss and wild_shot events
- Added duck_miss and wild_shot to force_public config settings
- All miss/wild shot messages now go to public channel by default
- Legacy users with notices=True will still get notices, but new users get public messages
2025-09-13 15:10:33 +01:00
2bbc202f8f Fix KeyError: 'fastest_shot' by ensuring complete channel records initialization
- Fixed incomplete channel_records initialization in shoot command
- Fixed incomplete channel_records initialization in wild shot tracking
- All channel records now properly include: fastest_shot, last_duck, total_ducks, total_shots
- Resolves runtime error when update_channel_records tries to access fastest_shot field
2025-09-13 15:07:32 +01:00
62da9d1c28 Major improvements: Remove rate limiting and improve message readability
 Completely removed all rate limiting functionality
 Made messages less compact and more readable
 Removed duck detector and auto shotgun from shop

Changes:
- Removed rate limiting: check_rate_limit(), is_rate_limited(), command_cooldowns
- Improved message formats with natural language
- Hit messages: 'Duck shot in X.Xs!' instead of 'X.Xs'
- Miss messages: 'You missed the duck!' instead of 'MISS'
- Reload messages: 'You reloaded your gun!' instead of 'RELOADED'
- Stats display: Full words instead of abbreviations
- Shop cleanup: Removed items #14 (auto shotgun) and #22 (duck detector)
- Better spacing and punctuation throughout
- Maintained efficiency while improving readability
2025-09-13 15:02:38 +01:00
408a840e94 Fix shop command errors
 Fixed indentation issue in handle_shop function
 Added missing 'magenta' color code for IRC
 Shop command now works without errors

Fixes:
- Removed extra indentation causing syntax error
- Added magenta color (\x0313) to colors dictionary
- Shop display now shows all categories properly
2025-09-13 14:47:50 +01:00
009a851696 Major code cleanup and compact message improvements
 Fixed all syntax errors and indentation issues
 Made all command outputs more compact and readable
 Fixed shop display with full item names
 Improved message formats for better IRC experience

Changes:
- Fixed broken try-except blocks and indentation
- Compacted hit/miss/reload messages
- Fixed color code issues in logging
- All syntax errors resolved - bot fully functional
2025-09-13 14:36:57 +01:00
86bf92c478 Complete inventory system implementation
- Added inventory capacity limits (configurable, default 20 slots)
- Items are stored in inventory before use for strategic gameplay
- Fixed indentation issues and syntax errors
- Inventory system fully configurable via config.json settings
2025-09-12 20:59:52 +01:00
3330f456ef first commit 2025-08-30 19:51:44 +01:00