Vencord / plugin-requests

Vencord plugin requests. Open the link below to create a request
https://github.com/Vencord/plugin-requests/issues/new?template=request.yml
29 stars 3 forks source link

Better FakeNitro Hyperlinks #28

Open Obsidianninja11 opened 8 months ago

Obsidianninja11 commented 8 months ago

Plugin Description

Some servers disallow hyperlinks, so a way to add a server specific toggle for the FakeNitro Use Hyper Links option or something that autodetects hyperlinks being blocked would be very nice. This could maybe be done with a text entry option in the config that accepts server ids seperated by commas. An example of a server blocking hyperlinks: test [:walk:](https://cdn.discordapp.com/emojis/1024751915864702976.gif?size=48&quality=lossless&name=walk) image

Sorry if this isn't the correct place for this. This is the closest I could find.

Existing Plugin for other mod

No response

Request Agreement

lewisakura commented 8 months ago

I don't understand what this theoretical option is meant to do. If you turn off hyperlinks, you can't post emoji.

regalialong commented 8 months ago

I don't understand what this theoretical option is meant to do. If you turn off hyperlinks, you can't post emoji.

They mean masked links, some guilds don't allow the []() links out of security reasons, so Automod blackholes the message. OP is asking for guild scoped workarounds for that.

dark-swordsman commented 8 months ago

Came here to ask for the same feature. This would be super helpful, since I don't want to disable the feature entirely.

Wasn't sure if I should make it a separate feature request. Probably will, but just to mention it here: It'd also be nice if the hyperlink text could be configurable. I'd like to just make it a period (.) so it masks easier.

Sqaaakoi commented 8 months ago

When was this change made? I always thought it was only the name query parameter on a normal URL

regalialong commented 7 months ago

When was this change made? I always thought it was only the name query parameter on a normal URL

@Sqaaakoi I'm tired but https://github.com/Vendicated/Vencord/commit/b2c047390e1e383758aa6e996b5c255a1e31d003 I believe did the change to masked links (which later got a toggle at https://github.com/Vendicated/Vencord/commit/d3bbd2c02ebcab88f0c6a7b19e7687eca6068e1c)

Obviously a global workaround is to disable masked links (Hyperlinks) outright in the plugin settings but the change itself wasn't bad, some guilds just don't allow masked links so it would be nice to be able to disable them in a granular way.