some improvements, cleanup trivias and typings when blacklisting a server
This commit is contained in:
@ -83,7 +83,7 @@ namespace NadekoBot.Classes.Trivia {
|
||||
ShouldStopGame = true;
|
||||
await channel.SendMessage("**Trivia game ended**\n" + GetLeaderboard());
|
||||
TriviaGame throwAwayValue;
|
||||
Commands.Trivia.runningTrivias.TryRemove(server, out throwAwayValue);
|
||||
Commands.Trivia.RunningTrivias.TryRemove(server.Id, out throwAwayValue);
|
||||
}
|
||||
|
||||
public async Task StopGame() {
|
||||
|
Reference in New Issue
Block a user