Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b9986a7fa | ||
|
|
a41c73de5d |
@@ -4,7 +4,6 @@ using Microsoft.Extensions.Logging;
|
||||
using DSharpPlus;
|
||||
using DSharpPlus.EventArgs;
|
||||
using DSharpPlus.Entities;
|
||||
using DSharpPlus.Net;
|
||||
using System.Linq;
|
||||
using DSharpPlus.SlashCommands;
|
||||
using DSharpPlus.SlashCommands.EventArgs;
|
||||
@@ -77,7 +76,6 @@ namespace TomatenMusic
|
||||
|
||||
})
|
||||
|
||||
// Lavalink
|
||||
.AddSingleton<IDiscordClientWrapper, DiscordShardedClientWrapper>()
|
||||
.AddSingleton<IAudioService, LavalinkNode>()
|
||||
.AddSingleton(new InactivityTrackingOptions
|
||||
@@ -114,7 +112,6 @@ namespace TomatenMusic
|
||||
{
|
||||
await BuildServiceProvider();
|
||||
|
||||
//_ = _host.StartAsync();
|
||||
|
||||
_host.Start();
|
||||
var client = ServiceProvider.GetRequiredService<DiscordShardedClient>();
|
||||
|
||||
Reference in new issue
Block a user