jtrent238 / steven-quartz-universe

A discord bot that does many things. Want to contribute? Submit a Pull Request.
MIT License
0 stars 3 forks source link

TypeError: Cannot read property 'members' of undefined #62

Open jtrent238 opened 6 years ago

jtrent238 commented 6 years ago

https://sentry.io/jtrent238/steven-quartz-universe/issues/707374052/

TypeError: Cannot read property 'members' of undefined
  File "/rbd/pnpm-volume/3b971df8-c1b8-4b3d-8b2c-749c9e197d77/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/structures/Guild.js", line 235, in Guild.setup
    this.channels.get(voiceState.channel_id).members.set(member.user.id, member);
  File "/rbd/pnpm-volume/3b971df8-c1b8-4b3d-8b2c-749c9e197d77/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/websocket/packets/handlers/GuildCreate.js", line 12, in GuildCreateHandler.handle
    guild.setup(data);
  File "/rbd/pnpm-volume/3b971df8-c1b8-4b3d-8b2c-749c9e197d77/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js", line 103, in WebSocketPacketManager.handle
    if (this.handlers[packet.t]) return this.handlers[packet.t].handle(packet);
  File "/rbd/pnpm-volume/3b971df8-c1b8-4b3d-8b2c-749c9e197d77/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/websocket/WebSocketConnection.js", line 333, in WebSocketConnection.onPacket
    return this.packetManager.handle(packet);
  File "/rbd/pnpm-volume/3b971df8-c1b8-4b3d-8b2c-749c9e197d77/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/websocket/WebSocketConnection.js", line 296, in WebSocketConnection.onMessage
    return this.onPacket(data);
...
(14 additional frame(s) were not displayed)

TypeError: Cannot read property 'members' of undefined