Disable global custom reactions with - response

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

View File

@ -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;
}
}