Disable global custom reactions with - response

This commit is contained in:
Kwoth committed 2016-12-13 05:56:53 +01:00
1 parent b97e49dccf
commit b39b1bf3d1
2 files changed
+10 -1

No files matched your search

@@ -47,7 +47,8 @@ namespace NadekoBot.Modules.CustomReactions
}).Shuffle().FirstOrDefault();
if (reaction != null)
{
try { await channel.SendMessageAsync(reaction.ResponseWithContext(umsg)).ConfigureAwait(false); } catch { }
if(reaction.Response != "-")
try { await channel.SendMessageAsync(reaction.ResponseWithContext(umsg)).ConfigureAwait(false); } catch { }
return true;
}
}