showing results for - "bot say command discord js"
Damian
09 Sep 2017
1client.on('message', message => {
2    if (message.content.startsWith(prefix + 'say')) {
3        if (message.author.bot) return;
4        const SayMessage = message.content.slice(6).trim();
5        message.channel.send(SayMessage)
6        message.channel.send("Text By " + ` **${message.author}**`)
7    }
8});
Ayoub
01 Sep 2017
1if (command === 'say') {
2	let text = args.join(' ');
3	message.delete();
4	message.channel.send(text);
5}