Skip to content

Commit

Permalink
Fix issues with upgrading to RC
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Moore committed Jan 5, 2017
1 parent 9d4280f commit 51affe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Disbott/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Disbott/Views/UtilsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 51affe5

Please sign in to comment.