Skip to content

Commit

Permalink
Fix reaction menus not working when maxpages set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Flame442 authored Jan 15, 2024
1 parent 58ea1cd commit 9300ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redbot/core/commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9300ede

Please sign in to comment.