Bot can't trigger currency generation anymore
This commit is contained in:
parent
d484169a34
commit
0a548523ab
@ -60,7 +60,7 @@ namespace NadekoBot.Modules.Games
|
|||||||
private Task PotentialFlowerGeneration(IMessage imsg)
|
private Task PotentialFlowerGeneration(IMessage imsg)
|
||||||
{
|
{
|
||||||
var msg = imsg as IUserMessage;
|
var msg = imsg as IUserMessage;
|
||||||
if (msg == null)
|
if (msg == null || msg.IsAuthor())
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
||||||
var channel = imsg.Channel as ITextChannel;
|
var channel = imsg.Channel as ITextChannel;
|
||||||
|
Loading…
Reference in New Issue
Block a user