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
Bot has been running fine and now out of nowhere i get this error
/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/ClientDataManager.js:81
guild.channels.set(channel.id, channel);
^
TypeError: Cannot read properties of undefined (reading 'id')
at ClientDataManager.newChannel (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/ClientDataManager.js:81:36)
at Guild.setup (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/structures/Guild.js:307:68)
at GuildCreateHandler.handle (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/websocket/packets/handlers/GuildCreate.js:12:15)
at WebSocketPacketManager.handle (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:108:65)
at WebSocketConnection.onPacket (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:336:35)
at WebSocketConnection.onMessage (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:299:17)
at WebSocket.onMessage (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/root/minestatBot2/Discord-Minecraft-Bot/node_modules/ws/lib/websocket.js:789:20)
at Receiver.emit (node:events:513:28)
Node.js v18.12.1```
ive even recloned the git and left it as it was and it still does the same thing
Also ive made sure that I have the latest discord.js installed and all packages were installed.
The text was updated successfully, but these errors were encountered:
Bot has been running fine and now out of nowhere i get this error
The text was updated successfully, but these errors were encountered: