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.

返信を投稿

返信を投稿するにはログインしてください。