mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-05-28 11:24:05 +00:00
aa3951827a
- Added QueuedCommand dataclass to represent commands waiting for cooldown expiration. - Enhanced CommandManager to support queuing commands when near global cooldown expiration, allowing for smoother command execution. - Implemented background task to process queued commands, ensuring they are executed once cooldowns expire. - Updated BaseCommand to include a method for retrieving queue threshold seconds, improving flexibility in command handling. - Adjusted core.py to initiate the command queue processor upon bot startup.