首页 > 解决方案 > discord.js 模块问题使机器人崩溃

问题描述

在过去的几次中,我的机器人一直因为这个错误而崩溃

 const existing = this.cache.get(data.id);
                                         ^

TypeError: Cannot read property 'id' of undefined

错误来自 discord.js 模块文件,我不太确定我的代码是否我最近没有更改任何内容,并且错误突然出现,错误详细信息中还包含图像错误详情

标签: discord.js

解决方案


推荐阅读