【发布时间】:2020-09-27 19:35:58
【问题描述】:
我的机器人正在回答一些我没有编码的命令。 这是我的代码:
else if (!command === 'cctech' || 'tomorrow'){
client.commands.get('advance01').execute(message, args);
我试着穿上这个:
const command = client.commands.get(command);
if (!command) return message.channel.send("Invalid Command.");
但它并没有解决问题。
【问题讨论】:
标签: javascript discord discord.js