Slight mistake in poll commands

This commit is contained in:
Kwoth 2016-10-16 19:08:49 +02:00
parent 83c5d9815c
commit d1219feddd

View File

@ -128,7 +128,7 @@ namespace NadekoBot.Modules.Games
return;
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;