我正在为Discord编写一个机器人,当我从cmdbox运行app.js时,它总是说: at Function.Modulemodule.js:300:12) 我已经尝试删除node_modules,然后运行npm i --save
discord.js--no-optional again, I have also tried doing np
我不明白为什么会出现错误: TypeError: Cannot read property 'MessageEmbed‘of undefinedmodule.exports = {description: "this is the help command", const newEmbed = new Discord.MessageEmbed() .setTitle(
我想向客户端对象添加一个变量“命令”。例如,在Javascript中,您可以使用以下内容:const { Client } = require('discord.js');Property 'commands' does not exist on type 'Client'.ts(2339)
我怎么才能
我有一个具有以下结构的svn回购程序 -> trunk -> 1.0.x -> branchesUse of uninitialized value $resolved in scalar chomp at /Applications819b5012690ffe22208d5727ad26673e2670560e: co