Answers for "discordjs say 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
1

discord say command

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

discordjs say command

if (command === 'say') {
		let text = args.join(' ');
		message.delete();
		message.channel.send(text);
	}
Posted by: Guest on April-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language