Simpleboy353 / REAPER-2.0

A multi-purpose discord bot made using Discord.js V14. Includes Logging, Welcomer, Slash Commands, Menu based Help Command and so much more!
GNU General Public License v3.0
327 stars 225 forks source link

any idea on this error #98

Closed NotMinhDucGamingTV closed 3 years ago

NotMinhDucGamingTV commented 3 years ago

home/runner/here/node_modules/discord.js/src/managers/GuildMemberRoleManager.js:36 return this.guild.roles.cache.filter(role => this.member._roles.includes(role.id)).set(everyone.id, everyone); ^

TypeError: Cannot read properties of undefined (reading 'id') at GuildMemberRoleManager.get cache [as cache] (/home/runner/here/node_modules/discord.js/src/managers/GuildMemberRoleManager.js:36:101) at TextChannel.memberPermissions (/home/runner/here/node_modules/discord.js/src/structures/GuildChannel.js:206:32) at TextChannel.permissionsFor (/home/runner/here/node_modules/discord.js/src/structures/GuildChannel.js:166:29) at GuildMember.permissionsIn (/home/runner/here/node_modules/discord.js/src/structures/GuildMember.js:229:20) at module.exports (/home/runner/here/events/guild/command.js:23:25) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5)

Simpleboy353 commented 3 years ago

Seems to be an issue with discord.js

NotMinhDucGamingTV commented 3 years ago

TypeError [REQ_RESOURCE_TYPE]: The resource must be a string, Buffer or a valid file stream. what anout this?

Simpleboy353 commented 3 years ago

TypeError [REQ_RESOURCE_TYPE]: The resource must be a string, Buffer or a valid file stream. what anout this?

99 New issue opened for this