From 9300edea22d6b6be0adea8923d5e94646df2d53c Mon Sep 17 00:00:00 2001 From: Michael Oliveira <34169552+Flame442@users.noreply.github.com> Date: Mon, 15 Jan 2024 17:39:56 -0500 Subject: [PATCH] Fix reaction menus not working when maxpages set to 0 --- redbot/core/commands/help.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redbot/core/commands/help.py b/redbot/core/commands/help.py index 69b9258365b..66920780d59 100644 --- a/redbot/core/commands/help.py +++ b/redbot/core/commands/help.py @@ -880,6 +880,8 @@ async def send_pages( # Allow other things to happen during menu timeout/interaction. if use_DMs: menu_ctx = await ctx.bot.get_context(m) + # Monkeypatch so help listens for reactions from the original author, not the bot + menu_ctx.author = ctx.author else: menu_ctx = ctx asyncio.create_task(