Bot can't trigger currency generation anymore
This commit is contained in:
1 parent
d484169a34
commit
0a548523ab
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user