📅  最后修改于: 2022-03-11 15:01:25.952000             🧑  作者: Mango
client.on('message', message => {
console.log(message.content);
if (message.content.startsWith(prefix + 'slap')) {
if (message.mentions.users.first()) {
message.channel.send(message.author.username + " Slapped " + message.mentions.users.first().username + " With A Palm of Justice!! ")
} else {
message.channel.send("Please Mention Who To Slap")
}
}
});