🏠 Home 

Discord Paste Links without Embeds

Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds

< 脚本Discord Paste Links without Embeds的反馈

评价:好评 - 脚本运行良好

§
发表于:2022-10-13

Hi, why after I set it like this, it doesn't work for both link formats:

replaceStandaloneLinks: false,
replaceLinksInMessage: true,

But when I reversed the settings it worked again for all link formats:

replaceStandaloneLinks: true,
replaceLinksInMessage: false,

I typed check out before the link and it didn't work, can I replace check out with any other words here?

§
发表于:2023-06-15

Explanation within the code was kept short. Let's make sure it's explained clearly:

replaceLinksInMessage refers to pasting when the clipboard contains more than just a URL, like having "sample text http://example.com" on the clipboard

replaceStandaloneLinks means if the only thing on the clipboard is the URL (no extra text)

With your explanation, I get the impression your clipboard only contains the URL and you're typing the other words. If that's the case, replaceStandaloneLinks is what applies.

If you mean something else, can you describe it more?

§
发表于:2023-06-15

With your explanation, I get the impression your clipboard only contains the URL and you're typing the other words. If that's the case, replaceStandaloneLinks is what applies.

Thanks, I understand, this scipt is for the content of the clipboard.

发表回复

登录以发表回复。