mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(leave): add optional channel argument to /leave command
- %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
This commit is contained in:
1 parent
7a4009f5c3
commit
9cfa8e2e6c
10 files changed
+188
-100
No files matched your search
@@ -32,7 +32,7 @@
|
||||
"forceleave": "Make Remix leave a channel even if you're not in it.",
|
||||
"invite": "Get the invite link for Remix and the support server.",
|
||||
"join": "Make the bot join your voice channel, or specify one.",
|
||||
"leave": "Make the bot leave your current voice channel.",
|
||||
"leave": "Make the bot leave a voice channel. Specify a channel or leave blank for your current one.",
|
||||
"lastfm": "Link your Last.fm account, toggle scrobbling, or view your profile.",
|
||||
"list": "List the songs in the queue of your current voice channel.",
|
||||
"loop": "Toggle the looping of your queue/song.",
|
||||
@@ -246,10 +246,12 @@
|
||||
"voiceChannelUnknown": "unknown voice channel"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ Please join a voice channel first.",
|
||||
"noVoiceChannel": "⚠️ Please join a voice channel first, or specify one: `{{prefix}}leave <#channel>`",
|
||||
"notInVoice": "I'm not in a voice channel.",
|
||||
"joinChannel": "⚠️ Please join {{channel}} to use this command.",
|
||||
"multipleChannels": "⚠️ I'm playing in multiple channels! Please join one of them:\n{{channels}}",
|
||||
"specifyChannel": "⚠️ You're not in a voice channel. I'm playing in:\n{{channels}}\n\nUse `{{prefix}}leave <#channel>` to leave a specific channel.",
|
||||
"noPlayerInChannel": "⚠️ I'm not playing in <#{{channel}}>. I'm in:\n{{channels}}",
|
||||
"playerNotInit": "Player not initialized.",
|
||||
"leftRejoin247": "✅ Successfully Left — rejoining <#{{channel}}> in 5 seconds.\nTo disable 24/7 mode permanently, use `%247 off`.",
|
||||
"left247On": "✅ Successfully Left.\n24/7 mode is **on** — bot won't rejoin automatically. Use `%play` to bring it back, or `%247 off` to fully disable.\nUse `%247` to view all saved channels."
|
||||
|
||||
Reference in new issue
Block a user