我不断收到错误消息“无法读取未定义的属性'get'

时间:2020-07-31 11:22:29

标签: node.js discord.js

https://gist.github.com/arxheryyy/27b95cb8b7edc49d7208a66dba9ca382 这是我的“ Github”上代码的链接,请帮助我看看 我一直把这个错误扔给我,我不知道为什么我多次浏览代码,却找不到任何东西。

1 个答案:

答案 0 :(得分:0)

因此,当您尝试使用bot。 command 而不是bot。 commands 时,您显然会在此开关内的30和36行之间引发错误。 !机器人。命令未设置在任何地方。

enter image description here