From d47d12e961bc048253dfb5bb7fae6206a3934198 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Fri, 1 Jun 2018 17:44:30 -0700 Subject: [PATCH] [V3 Audio] Restrict check for reactions on [p]now (#1752) --- redbot/cogs/audio/audio.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/audio/audio.py b/redbot/cogs/audio/audio.py index 868e13a09..614bdc85a 100644 --- a/redbot/cogs/audio/audio.py +++ b/redbot/cogs/audio/audio.py @@ -425,7 +425,11 @@ class Audio: await message.add_reaction(expected[i]) def check(r, u): - return r.message.id == message.id and u == ctx.message.author + return ( + r.message.id == message.id + and u == ctx.message.author + and any(e in str(r.emoji) for e in expected) + ) try: (r, u) = await self.bot.wait_for("reaction_add", check=check, timeout=10.0)