diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 011ee0d92..76f17d5b9 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -457,7 +457,7 @@ class Core(commands.Cog, CoreLogic): pred = MessagePredicate.yes_or_no(ctx) try: - await self.bot.wait_for("message", check=MessagePredicate.yes_or_no(ctx)) + await self.bot.wait_for("message", check=pred) except asyncio.TimeoutError: await ctx.send("Response timed out.") return