>gc should work properly on public nadeko now (still bot owner only)

This commit is contained in:
Master Kwoth 2017-05-17 17:11:36 +02:00
parent db5dfe9cc5
commit aebb4398fd

View File

@ -36,10 +36,7 @@ namespace NadekoBot.Modules.Games
static PlantPickCommands()
{
#if !GLOBAL_NADEKO
NadekoBot.Client.MessageReceived += PotentialFlowerGeneration;
#endif
generationChannels = new ConcurrentHashSet<ulong>(NadekoBot.AllGuildConfigs
.SelectMany(c => c.GenerateCurrencyChannelIds.Select(obj => obj.ChannelId)));
}