Answers for "discord js bot say the command"

7

Bot say command discord.js

client.on('message', message => {
    if (message.content.startsWith(prefix + 'say')) {
        if (message.author.bot) return;
        const SayMessage = message.content.slice(6).trim();
        message.channel.send(SayMessage)
        message.channel.send("Text By " + ` **${message.author}**`)
    }
});
Posted by: Guest on February-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language