From f9b21520fbb6937a33097c83f303d81533d2fb64 Mon Sep 17 00:00:00 2001 From: Toastie Date: Wed, 26 Jun 2024 23:58:21 +1200 Subject: [PATCH] Updated Music module --- src/EllieBot/Modules/Music/Music.cs | 1 + src/EllieBot/Modules/Music/Services/MusicService.cs | 2 +- src/EllieBot/Modules/Music/_common/db/MusicPlaylist.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Music/Music.cs b/src/EllieBot/Modules/Music/Music.cs index 3b1393c..a36c440 100644 --- a/src/EllieBot/Modules/Music/Music.cs +++ b/src/EllieBot/Modules/Music/Music.cs @@ -1,6 +1,7 @@ #nullable disable using EllieBot.Modules.Music.Services; using EllieBot.Db.Models; +using EllieBot.Modules.Utility; namespace EllieBot.Modules.Music; diff --git a/src/EllieBot/Modules/Music/Services/MusicService.cs b/src/EllieBot/Modules/Music/Services/MusicService.cs index b2b3da3..c92d8de 100644 --- a/src/EllieBot/Modules/Music/Services/MusicService.cs +++ b/src/EllieBot/Modules/Music/Services/MusicService.cs @@ -212,7 +212,7 @@ public sealed class MusicService : IMusicService, IPlaceholderProvider if (settings.AutoDisconnect) return LeaveVoiceChannelAsync(guildId); } - + return Task.CompletedTask; }; diff --git a/src/EllieBot/Modules/Music/_common/db/MusicPlaylist.cs b/src/EllieBot/Modules/Music/_common/db/MusicPlaylist.cs index 16a755b..697e35e 100644 --- a/src/EllieBot/Modules/Music/_common/db/MusicPlaylist.cs +++ b/src/EllieBot/Modules/Music/_common/db/MusicPlaylist.cs @@ -1,4 +1,4 @@ -#nullable disable +#nullable disable namespace EllieBot.Db.Models; public class MusicPlaylist : DbEntity