small changes, music queue to 50, takes 30 from pl

This commit is contained in:
Master Kwoth
2016-02-23 01:21:22 +01:00
parent 7d11f94088
commit 8d0fc191d8
10 changed files with 27 additions and 24 deletions

View File

@ -77,12 +77,12 @@ namespace NadekoBot.Classes.Trivia {
// load next question if game is still running
await Task.Delay(2000);
}
End();
End().Wait();
}
private void End() {
_channel.SendMessage("**Trivia game ended**");
_channel.SendMessage(GetLeaderboard());
private async Task End() {
await _channel.SendMessage("**Trivia game ended**");
await _channel.SendMessage(GetLeaderboard());
TriviaGame throwAwayValue;
Commands.Trivia.runningTrivias.TryRemove(_server, out throwAwayValue);
}