From 29494c1859ed876b3374b88b85c4734ca9d81fe2 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Wed, 7 Feb 2024 06:57:24 +0100 Subject: [PATCH] reeeeeee Signed-off-by: Lala Sabathil --- Interactivity/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Interactivity/Program.cs b/Interactivity/Program.cs index 345c927..9bccde7 100644 --- a/Interactivity/Program.cs +++ b/Interactivity/Program.cs @@ -51,9 +51,6 @@ private static async Task Main(string[] args) // Enabling VoiceNext for . You can also use lavalink. discordClient.UseVoiceNext(); - Console.WriteLine("Connecting to Discord..."); - await discordClient.ConnectAsync(); - // Enabling interactivity support discordClient.UseInteractivity(); @@ -81,6 +78,9 @@ private static async Task Main(string[] args) discordClient.Logger.LogInformation("Application commands registered successfully"); + Console.WriteLine("Connecting to Discord..."); + await discordClient.ConnectAsync(); + // Listen for commands by putting this method to sleep and relying off of DiscordClient's event listeners await Task.Delay(-1); }