mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
- Migrated to twitch helix api for stream notifications
- Added 2 new fields to creds.yml -> TwitchClientId and TwitchClientSecret - Users now have to provide them in order to use twitch stream notifications as Twitch is shutting down old api on 18th of February 2022 - Possibly fixed some issues with streams randomly getting cleared - Added an incomplete trovo stream notification provider
This commit is contained in:
@@ -452,6 +452,7 @@ public sealed class MusicService : IMusicService
|
||||
|
||||
if (TryGetMusicPlayer(guildId, out var mp))
|
||||
mp.AutoPlay = newValue;
|
||||
|
||||
return newValue;
|
||||
}
|
||||
|
||||
|
@@ -275,7 +275,6 @@ public sealed class MusicPlayer : IMusicPlayer
|
||||
|
||||
_ = OnCompleted?.Invoke(this, track);
|
||||
|
||||
// todo update when settings are changed
|
||||
if (AutoPlay && track.Platform == MusicPlatform.Youtube)
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user