tweak(yarn): Change whitelist criteria
This commit is contained in:
@@ -44,7 +44,7 @@ class YarnCog(LionCog):
|
|||||||
if (
|
if (
|
||||||
reaction.me
|
reaction.me
|
||||||
and reaction.count == 1
|
and reaction.count == 1
|
||||||
and str(reaction.emoji) not in ("▶", "◀")
|
and reaction.message.author.id != self.bot.user.id
|
||||||
):
|
):
|
||||||
await reaction.remove(self.bot.user)
|
await reaction.remove(self.bot.user)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user