discord bot say command code discord.js code example
Example: Bot say command discord.js
client.on('message', message => {
if (message.content.startsWith(prefix + 'say')) { // CHANGE ONLY IF EXPERT //
if (message.author.bot) return;
const SayMessage = message.content.slice(6).trim(); // CONNECTED WITH prefix + "say" //
message.channel.send(SayMessage)
message.channel.send("Text By " + ` **${message.author}**`)
}
});