-
-
Notifications
You must be signed in to change notification settings - Fork 474
feat: allow conversion to Member in MentionableConverter #2775
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
fix of #2394 |
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
ready for review |
This isn't really a bug fix, more of a feature |
I'll edit the change then |
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
if input_type == discord.Member: | ||
self.converter = MemberConverter() | ||
else: |
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.
why'd this get put here? this should be handled by converter mappings
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.
I followed this, if you prefer to make me do it differently, can you explain me how you would like it ?
#2394 (comment)
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.
well it's no different than just removing it since it's in BRIDGE_CONVERTER_MAPPING
ALREADY
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.
if someone can understand why without this init it doesnt work, feel free to help
Co-authored-by: plun1331 <plun1331@gmail.com> Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Summary
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.