Skip to content

Conversation

lolsuffocate
Copy link
Contributor

@lolsuffocate lolsuffocate commented Nov 7, 2024

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.

showembeds.webm

@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
Contributor Author

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

@lolsuffocate
Copy link
Contributor 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
Contributor Author

Is there anything in particular you have in mind?

@lolsuffocate
Copy link
Contributor Author

I'll get ahead of this being closed for the same reason as #3591

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