Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js remove embed from message

client.on("message", message => {
    if (message.author.bot) return false;

    if (message.author.id !== "YourID") { // Example Condition
        message.suppressEmbeds(true) // Removes all embeds from the message.
    }
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #embed #message
ADD COMMENT
Topic
Name
1+3 =