Docs / Bot

Relink

In daily Discord usage, we often encounter issues where link previews fail to display properly. For example, links using x.com frequently fail to generate previews, or videos cannot be played. Relink is a feature designed to help members fix link previews by re-posting the repaired link in the form of a reply.

Create Relink /relink create

Use this command to create a Relink setting.

Form Fields

ItemTypeRequiredDescription
Relink NameTextYesThe name of the Relink setting, used to distinguish between different Relink settings
Replace TextTextYesDetects whether each message contains the specified text
Replace WithTextYesReplaces the Replace Text content with the specified text
ChannelsChannel OptionNoSelect specific channels for detection and replacement
Invert Selected ChannelsCheckboxNoChecking this option will apply detection and replacement to all channels EXCEPT those specified in Channels. If you intend to apply it to all channels, check this option and leave the Channels item blank

Edit Relink /relink edit

Use this command to edit a Relink setting you have previously created.

Command Parameters

ParameterTypeRequiredDescription
relinkRelink OptionYesSelect a Relink setting you have previously created to edit

Form Fields

ItemTypeRequiredDescription
Relink NameTextYesThe name of the Relink setting, used to distinguish between different Relink settings
Replace TextTextYesDetects whether each message contains the specified text
Replace WithTextYesReplaces the Replace Text content with the specified text
ChannelsChannel OptionNoSelect specific channels for detection and replacement
Invert Selected ChannelsCheckboxNoChecking this option will apply detection and replacement to all channels EXCEPT those specified in Channels. If you intend to apply it to all channels, check this option and leave the Channels item blank

Delete Relink /relink delete

Use this command to delete a Relink setting you have previously created.

Command Parameters

ParameterTypeRequiredDescription
relinkRelink OptionYesSelect a Relink setting you have previously created to delete