You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:607
const member = channel.guild.members.cache.get(id);
^
TypeError: Cannot read properties of undefined (reading 'members')
at /home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:607:38
at String.replace ()
at Util.cleanContent (/home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:600:8)
at get cleanContent [as cleanContent] (/home/container/node_modules/discord.js-selfbot-v13/src/structures/Message.js:494:40)
at Client. (file:///home/container/index.js:398:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Which package has the bugs?
The core library
Issue description
/home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:607
const member = channel.guild.members.cache.get(id);
^
TypeError: Cannot read properties of undefined (reading 'members')
at /home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:607:38
at String.replace ()
at Util.cleanContent (/home/container/node_modules/discord.js-selfbot-v13/src/util/Util.js:600:8)
at get cleanContent [as cleanContent] (/home/container/node_modules/discord.js-selfbot-v13/src/structures/Message.js:494:40)
at Client. (file:///home/container/index.js:398:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.9.0
Code sample
Package version
3.1.4
Node.js version
19.9.0
Operating system
Linux
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: