Slight mistake in poll commands
This commit is contained in:
parent
83c5d9815c
commit
d1219feddd
@ -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 { }
|
try { await ((IMessageChannel)ch).SendMessageAsync($"Thanks for voting **{msg.Author.Username}**.").ConfigureAwait(false); } catch { }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
Loading…
Reference in New Issue
Block a user