Tomato6966 / Musicium

An advanced Discord Music Bot with a Dashboard, using distube.js.org having an interactive button & menu system and many features! Supported Features: Spotify • YouTube • SoundCloud • Live Stream • Audio Filtering • DJ Roles • Autoplay • Autoresume • Dashboard + Live Queue • ...
https://musicium.eu
GNU General Public License v2.0
298 stars 310 forks source link

[antiCrash] :: Uncaught Exception/Catch #83

Closed iM0hamed closed 3 years ago

iM0hamed commented 3 years ago

[antiCrash] :: Uncaught Exception/Catch TypeError: Cannot read properties of null (reading 'toString') at Map.[fetchCheck] (/home/ubuntu/Musicium/node_modules/enmap/src/index.js:1137:15) at Map.ensure (/home/ubuntu/Musicium/node_modules/enmap/src/index.js:616:22) at module.exports (/home/ubuntu/Musicium/events/guild/interactionCreate.js:9:19) at Client.emit (node:events:390:28) at InteractionCreateAction.handle (/home/ubuntu/Musicium/node_modules/discord.js/src/client/actions/InteractionCreate.js:66:12) at Object.module.exports [as INTERACTION_CREATE] (/home/ubuntu/Musicium/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/ubuntu/Musicium/node_modules/discord.js/src/client/websocket/WebSocketManager.js:350:31) at WebSocketShard.onPacket (/home/ubuntu/Musicium/node_modules/discord.js/src/client/websocket/WebSocketShard.js:443:22) at WebSocketShard.onMessage (/home/ubuntu/Musicium/node_modules/discord.js/src/client/websocket/WebSocketShard.js:300:10) at WebSocket.onMessage (/home/ubuntu/Musicium/node_modules/discord.js/node_modules/ws/lib/event-target.js:199:18) uncaughtException

Tomato6966 commented 3 years ago

Only happens on dm interactions.. You need to check if the interaction is in a guild first