Updated Music module
This commit is contained in:
parent
4732254805
commit
f9b21520fb
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
#nullable disable
|
#nullable disable
|
||||||
using EllieBot.Modules.Music.Services;
|
using EllieBot.Modules.Music.Services;
|
||||||
using EllieBot.Db.Models;
|
using EllieBot.Db.Models;
|
||||||
|
using EllieBot.Modules.Utility;
|
||||||
|
|
||||||
namespace EllieBot.Modules.Music;
|
namespace EllieBot.Modules.Music;
|
||||||
|
|
||||||
|
|
|
@ -212,7 +212,7 @@ public sealed class MusicService : IMusicService, IPlaceholderProvider
|
||||||
if (settings.AutoDisconnect)
|
if (settings.AutoDisconnect)
|
||||||
return LeaveVoiceChannelAsync(guildId);
|
return LeaveVoiceChannelAsync(guildId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#nullable disable
|
#nullable disable
|
||||||
namespace EllieBot.Db.Models;
|
namespace EllieBot.Db.Models;
|
||||||
|
|
||||||
public class MusicPlaylist : DbEntity
|
public class MusicPlaylist : DbEntity
|
||||||
|
|
Loading…
Reference in a new issue