why links not embed if bot sends em on discord when same ones work if user sends them
- User
why links not embed if bot sends em on discord when same ones work if user sends them
- Assistant
In Discord, the ability to embed links or display rich previews is influenced by several factors, including user permissions, content settings, and the source of the message. Here's why links sent by a bot might not embed while user-sent links do:
-
Bot Permissions: The bot may not have the required permissions to embed links in the channel. Ensure that the bot has the
Embed Linkspermission for the specific channel. -
Message Format: If the bot sends a message as plain text rather than as an embed, Discord will not generate a preview. Make sure the bot is using the correct API methods to send messages with embeds.
-
Link Whitelisting: Discord has certain whitelists for links. If a bot sends a link from a domain that is not whitelisted or is flagged as spammy, Discord might not generate a preview.
-