You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,9 +88,9 @@ public static async Task MainAsync(string[] args)
91
88
};
92
89
93
90
Log.Logger.Information("Connecting to Discord...");
94
-
awaitdiscordShardedClient.StartAsync();
91
+
awaitdiscordClient.ConnectAsync();
95
92
96
-
discordShardedClient.Logger.LogInformation("Connection success! Logged in as {UsernameWithDiscriminator} ({CurrentUserId})",discordShardedClient.CurrentUser.UsernameWithDiscriminator,discordShardedClient.CurrentUser.Id);
93
+
discordClient.Logger.LogInformation("Connection success! Logged in as {UsernameWithDiscriminator} ({CurrentUserId})",discordClient.CurrentUser.UsernameWithDiscriminator,discordClient.CurrentUser.Id);
97
94
98
95
try
99
96
{
@@ -103,7 +100,7 @@ public static async Task MainAsync(string[] args)
0 commit comments