Fixed compile error

This commit is contained in:
Kwoth 2016-10-05 07:02:01 +02:00
parent 755d793150
commit 5b86b84991

View File

@ -128,7 +128,7 @@ namespace NadekoBot.Modules.Games
return; return;
if (participants.TryAdd(msg.Author, vote)) if (participants.TryAdd(msg.Author, vote))
{ {
try { await (ch as ITextChannel).SendMessageAsync($"Thanks for voting **{msg.Author.Username}**.").ConfigureAwait(false); } catch (Exception ex) { _log.Warn(ex); } try { await (ch as ITextChannel).SendMessageAsync($"Thanks for voting **{msg.Author.Username}**.").ConfigureAwait(false); } catch { }
} }
}); });
return Task.CompletedTask; return Task.CompletedTask;