diff --git a/Disbott/Program.cs b/Disbott/Program.cs index dce5eb2..74f824b 100644 --- a/Disbott/Program.cs +++ b/Disbott/Program.cs @@ -48,8 +48,8 @@ public async Task Start() public async Task ModifyStatus() { var username = _client.CurrentUser.Username; - await _client.SetStatus(UserStatus.Idle); - await _client.SetGame($"\'@{username} about\' for commands"); + await _client.SetStatusAsync(UserStatus.Online); + await _client.SetGameAsync($"\'@{username} about\' for commands"); } public async Task InstallCommands() diff --git a/Disbott/Views/UtilsModule.cs b/Disbott/Views/UtilsModule.cs index 4d60c19..e1f5733 100644 --- a/Disbott/Views/UtilsModule.cs +++ b/Disbott/Views/UtilsModule.cs @@ -52,7 +52,7 @@ public async Task Kill() var channel = guild.GetDefaultChannelAsync(); await channel.Result.SendMessageAsync(Resources.response_Killed); } - await Context.Client.ApiClient.LogoutAsync(); + await Context.Client.DisconnectAsync(); Process.GetCurrentProcess().Kill(); } }