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

Viewed 946

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

1 Answers

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

screenshot

Related