Skip to content
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

Convert message links to Message objects in REPLs #226

Open
WitherredAway opened this issue Jan 10, 2024 · 1 comment
Open

Convert message links to Message objects in REPLs #226

WitherredAway opened this issue Jan 10, 2024 · 1 comment

Comments

@WitherredAway
Copy link

The Problem

Currently in repl commands (jsk py, etc) user/member mentions and channel mentions get converted to their respective User/Member and Channel objects. I absolutely love this feature and would love to see this work for message links as well (these now also appear in a mention style in the UI, although I'm using an older version in this screenshot)
Screenshot_2024-01-10-06-32-44-978_com

The Ideal Solution

Doing something like message = https://discord.com/channels/123/456/789 would give me the Message object like the commands.MessageConverter converter.

The Current Solution

N/A

Summary

Would be awesome to be able to get Message objects in REPLs from the message links like with user/channel mentions.

@WitherredAway
Copy link
Author

Maybe could also work for channel and attachment links? But XChannelConverter doesn't do that and there is no AttachmentConverter so not sure if that's possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant