- %leave now accepts an optional `channel` option; defaults to the
user's current voice channel when omitted
- Updated locale strings to describe the new behaviour and provide
clearer error messages (noVoiceChannel, specifyChannel, noPlayerInChannel)
fix(PlayerManager): improve voice-state resolution after reboot
- Added VoiceManager.voiceStates as a fallback lookup when
getVoiceChannelId() returns null on startup
- Multi-player guilds now check LiveKit remote participants to
determine which channel a user is actually in
- Filter out destroyed players when resolving guild player list
fix(PlayerManager): deduplicate Last.fm scrobble timers
- Added _pendingScrobbleTimers map to prevent duplicate scrobbles
when startplay fires multiple times for the same channel
- Timers are now properly cleared on song skip and player stop
fix(RecoveryManager): restore textChannel after reboot for 24/7 mode
- Spawned players after reboot now resolve an announcement channel
from server settings or the first available text channel, so song
announcements aren't silently dropped
fix(Player): remove unused worker semaphore and dead media-player code
- Removed _workerSemaphore / _workerQueue / _workerPool semaphore logic
- Removed no-op _setupMediaPlayerMonitoring and _cleanupMediaPlayer methods
- Removed unused spotifyConfig field
fix(CommandHandler): skip Flag instances during option processing
- presenceContents entries now accept plain strings (backwards
compatible) or rich objects with:
text — status text (required)
emoji_name — unicode emoji or custom emoji name
emoji_id — snowflake ID for custom guild emojis
activity — { name, type, url? } where type follows Fluxer
activity types (0=Playing 1=Streaming 2=Listening
3=Watching 5=Competing)
- Both index.mjs (initial presence on login) and
GatewayHandler.mjs (rotating presence loop) updated to resolve
each entry: builds custom_status from text/emoji fields and
appends activities[] if an activity object is provided
- Add presenceContents-Comment field to config_example.json
documenting the schema with three example entries (custom guild
emoji + Listening activity, unicode emoji, credits entry)
fix: safe-load storage/modules.json on startup
- index.mjs wrapped modules.json read in try/catch; logs a clear
warning and starts with an empty modules array instead of
crashing on ENOENT or malformed JSON