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
Fix issues with embed_requested() #2966
Fix issues with embed_requested() #2966
Conversation
This will break embed_requested()
in DMs, because PrivateChannels don't have a guild attribute.
The current behaviour is that the guild setting takes priority over the user setting, and as far as I can tell, this behaviour is intended. Perhaps we should open up a discussion on whether the embed setting should be personalised, or whether the guild setting should take priority?
What does need to be fixed is that the user setting should always affect help but only affects help run with [p]help and not help sent by other commands |
I can't replicate the described issue. |
As Toby said,
Above image shows this, but these changes don't adequately handle this. I'm also not sure we should change the priority here. Guild owners have a reason to expect help to look consistent within their own server. |
I did not realize that the intended behaviour was guild having priority over user, but it does not make sense to me why user should only have priority over guild in help (and there IS a bug with this). Is the intended priority Guild > User > Global? My suggestion is to make the user setting ONLY apply in DM's |
Make embed_requested()'s user settings only affect DM's
- However, we are not changing the signature - This was previously special cased for reasons related to the older version of the help formatter we used and never re-evaluated for need. - We should leave the signature as is both for lack of breaking, and for potential future changes // actually this was already done once in GH-2966 but got accidentally overwritten
Type
Description of the changes
Remove if statement that causes embed_requested() not to always return the correct user set value.