📅  最后修改于: 2022-03-11 15:03:43.159000             🧑  作者: Mango
// client.on('message', message => {
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).trim().split(' ');
const command = args.shift().toLowerCase();
// the rest of your code