DiscordSRV

DiscordSRV

86.8k Downloads

config to switch whether OGP is enabled

KisaragiEffective opened this issue ยท 1 comments

commented

Why?

It is un-controllable that a minecraft-user pastes a random URL. If the URL's OGP (this is automatically shown on Discord client) contains image which is might not be seen (e.g. cockroach), what can we do currently?

What and How?

Add config to switch this behavior. This feature should be opt-in, as current users shouldn't be confused by this setting.

This behavior can be disabled by surrounding URL with angle brackets.
Example: https://example.com/ to <https://example.com>

Are there alternatives?

Regex replacement could be alternative, but matching regex is too complex and is not so clear.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

No response

commented

You can disable the "Embed Links" permission for the bot in whichever channel it's relaying to. This stops the bot from displaying a preview whenever a link is sent.