命令不发送任何结果"/>
discord bot 说命令不发送任何结果
我正在尝试为我的 discord 机器人发出“say”命令,每次发送 !say Hi!它不会返回任何东西。
命令代码:
if(message.content === "!say"){
const messageContent = message.content.split(' ').slice(1).join(' ');
if(!messageContent){
return message.reply("please tell me what you would like me to say!")
}
console.log(messageContent)
message.channel.send(messageContent);
回答如下:
更多推荐
discord bot 说命令不发送任何结果
发布评论