所以,我正在編寫一個投票機器人,我正在做一些事情,如果用戶只說“投票”,系統會響應嵌入告訴他們使用正確的命令。但是,我收到一個參考錯誤:未定義 MessageEmbed。請幫我解決一下這個。代碼如下所示: const Embed = new MessageEmbed() .setColor(0xFFC300) .setTitle("Initiate Poll") .setDescription("p!poll to initiate a simple yes or no poll!"); if(!args[1]){ message.channel.send(Embed); } break;
參考錯誤:我的 poll 命令中沒有定義 MessageEmbed
慕娘9325324
2022-07-21 10:45:45