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

New Plugin: ShowMessageEmbeds #3004

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

lolsuffocate
Copy link

ShowMessageEmbeds

Adds a context menu option to show embeds for links that don't have one.

Right click on the link and select "Show Embed" to use.

The new embed is only visible locally, allowing you to view embeds of links sent by users that don't have embed permissions or surrounded the link with < > in their message.

Preview

@Sqaaakoi
Copy link
Contributor

Sqaaakoi commented Nov 8, 2024

I've been using an older userplugin version of this that you made for a decent amount of time.

Discord attachment links will be converted into "mentions" and the plugin does not have an option to show those embeds.
I've tried to look into this before but it seems like you'll need to do a decent amount of patching to pass the message object to the context menu.

@lolsuffocate
Copy link
Author

I hadn't considered attachment mentions, thanks. I'll look into adding support for those later on

@lolsuffocate
Copy link
Author

mentions

Copy link

@nerd-bear nerd-bear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm but needs more error handling

@lolsuffocate
Copy link
Author

Is there anything in particular you have in mind?

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

Successfully merging this pull request may close these issues.

3 participants