Replace the single "loop" translation with three explicit keys ("loopOff", "loopTrack", "loopQueue") across all language files to support distinct loop modes. Also standardize the settings key from "max-history" to "max_history" and update main.py to read LOG_SETTINGS.get("max_history", 30) for the TimedRotatingFileHandler backupCount. Files changed: langs/*.json, main.py, settings Example.json.
Make certain bot responses ephemeral to avoid spamming channels (debug command and missing-permission reply). Bump discord.py from 2.7.0 to 2.7.1 in requirements. Remove an unused Config().get_playlist_config() assignment in updatePlaylist to clean up dead code.
Ensures that get_prefix returns an empty string if the prefix is None, preventing potential issues with command parsing when no prefix is set in the settings.
Added a 'requires_fetch' parameter to the send function to ensure messages are fetched when needed. Enhanced command interaction checks to verify bot permissions for reading and sending messages in channels. Updated player controller logic to use the new fetch behavior for controller messages.
Added 'Fairqueue' and 'togglecontroller' keys to both es-419.json and es-ES.json for improved localization support. No other changes were made to the translation content.
Adds a smart command sync strategy to handle potential command conflicts during bot startup.
This implementation includes:
- Initial attempt at a normal sync.
- Conflict resolution mechanism via Discord's bulk update endpoint if "Entry Point command" errors are encountered.
- Error handling and logging for increased reliability.