hexerous
hexerous

Reputation: 251

Discord.JS | function or way to delete an embed from a user message?

So I am making a bot using the Discord.JS API. The bot basically plays the audio of a given youtube link (ytdl-core). Every time I type a link of what I want to play, the embed of the youtube link shows up. I know there are ways to disable embeds on the text channels, but I don't want to have to do that. Is there a way to delete just the embed?

screenshot

Upvotes: 2

Views: 1572

Answers (1)

Lioness100
Lioness100

Reputation: 8402

There is actually. If you wrap your link in less than and greater than signs (<>), an embed won't appear.

screenshot

Upvotes: 3

Related Questions