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});
1client.on('message', message => {
2 if (message.content.startsWith(prefix + 'say')) {
3 if (message.author.bot) return;
4 const SayMessage = message.content.slice(4).trim();
5 message.channel.send("**" + SayMessage + "**")
6 message.channel.send("- " + `**${message.author}**`)
7 }
8});
1var yourping = new Date().getTime() - message.createdTimestamp
2var botping = Math.round(bot.ws.ping)
3
4message.channel.send(`Your ping: ${yourping} \nBots ping: ${botping}`)
1const prefix = `PREFIX`
2if (message.content.toLowerCase().startsWith(prefix + "say"))
3 {
4 let MSG = message.content.split(" ");
5 let Query = MSG.slice(1).join("+");
6 let QueryD = MSG.slice(1).join(" ");
7 if (!Query) message.reply("Please specify something for me to say!")
8 else
9 {
10 message.channel.send(QueryD + " -" + message.author.tag)
11}
12}