feat(music): add inactivity watchdog warning, out-of-band radio titles

- add inactivity warning event and embed prompt before autoleave in Player & PlayerLifecycleMixin
- implement out-of-band ICY/Icecast metadata poller in RadioMetadata to track live radio titles without stream corruption
- wire live radio title updates into nowPlaying and announceSong in DisplayMixin and PlaybackMixin
This commit is contained in:
NoLogicAlan committed 2026-11-20 23:07:50 +03:00
1 parent e501fc62fb
commit a99e5bca37
13 files changed
+276 -17

No files matched your search

+4 -1
View File
@@ -373,7 +373,10 @@
"autoLeaveFooter": "Keep bot in voice 24/7 with {{prefix}}247",
"joinFailedAuthor": "🔊 Voice Connection Error",
"joinFailedTitle": "Failed to Connect",
"joinFailedFooter": "Check voice channel permissions and retry with {{prefix}}join"
"joinFailedFooter": "Check voice channel permissions and retry with {{prefix}}join",
"inactivityWarningTitle": "Leaving Voice Soon",
"inactivityWarningDesc": "Voice session is currently inactive. Disconnecting from <#{{channel}}> in **{{minutes}} minute(s)**.\n\nUse {{prefix}}247 to keep me in voice 24/7!",
"inactivityWarningFooter": "Play a song with {{prefix}}play to resume"
},
"leave": {
"noVoiceChannel": "⚠️ I can't find you in a voice channel. Please join one, or if you're already in one, make sure I have **View Channel** and **Connect** permissions. You can also specify a channel: `{{prefix}}leave <#channel>`",