From 0a548523abe2b82b76ab310b9af52e9ae9cb31a3 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 8 Sep 2016 22:42:19 +0200 Subject: [PATCH] Bot can't trigger currency generation anymore --- src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs b/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs index fec1a2d0..f55a6713 100644 --- a/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs +++ b/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs @@ -60,7 +60,7 @@ namespace NadekoBot.Modules.Games private Task PotentialFlowerGeneration(IMessage imsg) { var msg = imsg as IUserMessage; - if (msg == null) + if (msg == null || msg.IsAuthor()) return Task.CompletedTask; var channel = imsg.Channel as ITextChannel;