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

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 13/10/2022

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?

§
Δημοσιεύτηκε: 15/06/2023

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?

§
Δημοσιεύτηκε: 15/06/2023

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.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.