Fxcking Angel

Results 8 comments of Fxcking Angel

I does not work with or without the array.

var em = new Discord.MessageEmbed() .setTitle(`Muted!`) .setDescription(`Admin has muted you!`) .setColor(800080) .setImage("https://i.pinimg.com/originals/93/4a/c2/934ac2e1254bfe067aff258f92260310.gif")

also here error sorry for not giving all info before asking if (typeof data !== 'string') throw new error(errorMessage); ^ RangeError [EMBED_DESCRIPTION]: MessageEmbed description must be a string.

This may work! message.channel.send({ embeds: this.format(this.options.muteMessage, message}))

sorry for late reply they both work but for the first one need to fix this ```js antiSpam.on("warnAdd", (member) => { const logChannel = member.guild.channels.cache.find(c => c.name.includes("mellie-logs")); if (logChannel) {...

> You can simply rely on the packages events... like `warnAdd` on that event: > > ```js > antiSpam.onEvent("warnAdd", (member) => { > //create your embed in here and send...