Skip to content

Commit

Permalink
reeeeeee
Browse files Browse the repository at this point in the history
Signed-off-by: Lala Sabathil <[email protected]>
  • Loading branch information
Lulalaby authored Feb 7, 2024
1 parent f13bebd commit 29494c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Interactivity/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 29494c1

Please sign in to comment.