Fixed coc

This commit is contained in:
Kwoth 2017-01-29 00:50:22 +01:00
parent 53c6f3ab08
commit 9eb9e69edc

View File

@ -36,7 +36,7 @@ namespace NadekoBot.Modules.ClashOfClans
.GetAllWars() .GetAllWars()
.Select(cw => .Select(cw =>
{ {
cw.Channel = NadekoBot.Client.GetGuild(cw.GuildId) cw.Channel = NadekoBot.Client.GetGuild(cw.GuildId)?
.GetTextChannel(cw.ChannelId); .GetTextChannel(cw.ChannelId);
return cw; return cw;
}) })