-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Send menus to dm if maxpages is 0 #5375
Conversation
I can‘t seem to find the issue here. The menu works fine with the old implementation when invoked in dms but for some reason my context for m doesn‘t want to work with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[p]helpset maxpages
's help currently states:
Note: This setting does not apply to menu help.
This needs to be changed to explain the new behavior specific to menus as a part of this PR.
This PR has conflicts due to the addition of button support to help's menu options. Looking at the @TrustyJAID, you wrote the PR to add buttons to help, do you have any insight as to the best way to approach this? |
I think the best path forward would be adding a new option on SimpleMenu called |
Blocked until #6282 is resolved and this PR can use the new method. |
The issue appears to be that generating Red-DiscordBot/redbot/core/utils/menus.py Line 200 in 409ece4
It should be possible to monkeypatch the author attribute to fix this issue. |
Co-authored-by: Dav <[email protected]> Co-authored-by: Michael Oliveira <[email protected]>
Description of the changes
Blocked by #6282Closes #5093
This PR will change help to send help menus to DMs if maxpages is 0.
Inconsistent with the "non-menu" mode the menus would always send in the invocation context even if maxpages was 0.
Currently i am a little stuck on the menus in the DM. For a reason i have yet to figure out the menu_ctx context does not play nicely with the menu.
While all messages and reactions can be sent/added, I can not flip the pages in the menu.