Fixed compile error
This commit is contained in:
parent
755d793150
commit
5b86b84991
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user