Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors #123

Open
MondoPIX opened this issue Jan 24, 2022 · 2 comments
Open

errors #123

MondoPIX opened this issue Jan 24, 2022 · 2 comments

Comments

@MondoPIX
Copy link

MondoPIX commented Jan 24, 2022

  1. Anticrash is spam in the logs
0|Musicium_BOT  |  [antiCrash] :: Unhandled Rejection/Catch
0|Musicium_BOT  | TypeError: Cannot read properties of null (reading 'id')
0|Musicium_BOT  |     at Timeout._onTimeout (/home/botdiscord/Musicium/handlers/distubeEvent.js:1040:86)
0|Musicium_BOT  |     at listOnTimeout (node:internal/timers:557:17)
0|Musicium_BOT  |     at processTimers (node:internal/timers:500:7) Promise {
0|Musicium_BOT  |   <rejected> TypeError: Cannot read properties of null (reading 'id')
0|Musicium_BOT  |       at Timeout._onTimeout (/home/botdiscord/Musicium/handlers/distubeEvent.js:1040:86)
0|Musicium_BOT  |       at listOnTimeout (node:internal/timers:557:17)
0|Musicium_BOT  |       at processTimers (node:internal/timers:500:7)
0|Musicium_BOT  | }
0|Musicium_BOT  |  [antiCrash] :: Uncaught Exception/Catch
0|Musicium_BOT  | TypeError: OAuth2Strategy requires a clientID option
0|Musicium_BOT  |     at Strategy.OAuth2Strategy (/home/botdiscord/Musicium/node_modules/passport-oauth2/lib/strategy                                                            .js:87:34)
0|Musicium_BOT  |     at new Strategy (/home/botdiscord/Musicium/node_modules/passport-discord/lib/strategy.js:49:20)
0|Musicium_BOT  |     at module.exports (/home/botdiscord/Musicium/dashboard/index.js:35:18)
0|Musicium_BOT  |     at Client.<anonymous> (/home/botdiscord/Musicium/index.js:138:34)
0|Musicium_BOT  |     at Client.emit (node:events:402:35)
0|Musicium_BOT  |     at WebSocketManager.triggerClientReady (/home/botdiscord/Musicium/node_modules/discord.js/src/c                                                            lient/websocket/WebSocketManager.js:383:17)
0|Musicium_BOT  |     at WebSocketManager.checkShardsReady (/home/botdiscord/Musicium/node_modules/discord.js/src/cli                                                            ent/websocket/WebSocketManager.js:366:10)
0|Musicium_BOT  |     at WebSocketShard.<anonymous> (/home/botdiscord/Musicium/node_modules/discord.js/src/client/web                                                            socket/WebSocketManager.js:188:14)
0|Musicium_BOT  |     at WebSocketShard.emit (node:events:390:28)
0|Musicium_BOT  |     at WebSocketShard.checkReady (/home/botdiscord/Musicium/node_modules/discord.js/src/client/webs                                                            ocket/WebSocketShard.js:474:12) uncaughtException
  1. This error comes when you put a link from ytb, but if you put it a couple of times it doesn't give the error anymore
0|Musicium_BOT  | Error: connect ETIMEDOUT 2a00:1450:4002:406::200e:443
0|Musicium_BOT  |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
0|Musicium_BOT  |   errno: -110,
0|Musicium_BOT  |   code: 'ETIMEDOUT',
0|Musicium_BOT  |   syscall: 'connect',
0|Musicium_BOT  |   address: '2a00:1450:4002:406::200e',
0|Musicium_BOT  |   port: 443,
0|Musicium_BOT  |   name: 'PlayError'
0|Musicium_BOT  | }

image

@MondoPIX
Copy link
Author

MondoPIX commented Feb 9, 2022

[antiCrash] :: Unhandled Rejection/Catch
DisTubeError [NO_UP_NEXT]: There is no up next song
    at Queue.skip (/home/botdiscord/Musicium/node_modules/distube/dist/struct/Queue.js:247:27)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async InteractionCollector.<anonymous> (/home/botdiscord/Musicium/handlers/distubeEvent.js:261:15) {
  errorCode: 'NO_UP_NEXT'
} Promise {
  <rejected> DisTubeError [NO_UP_NEXT]: There is no up next song
      at Queue.skip (/home/botdiscord/Musicium/node_modules/distube/dist/struct/Queue.js:247:27)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async InteractionCollector.<anonymous> (/home/botdiscord/Musicium/handlers/distubeEvent.js:261:15) {
    errorCode: 'NO_UP_NEXT'
  }
}
 || <==> || [Wed Feb 09 2022 15:16:38] || <==> || Shard #0 Reconnecting || <==> ||
 || <==> || [Wed Feb 09 2022 15:16:38] || <==> || Shard #0 Resumed || <==> ||
 [antiCrash] :: Uncaught Exception/Catch (MONITOR)
RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number: MANAGE_GUILD .
    at Function.resolve (/home/botdiscord/Musicium/node_modules/discord.js/src/util/BitField.js:152:11)
    at /home/botdiscord/Musicium/node_modules/discord.js/src/util/BitField.js:147:54
    at Array.map (<anonymous>)
    at Function.resolve (/home/botdiscord/Musicium/node_modules/discord.js/src/util/BitField.js:147:40)
    at Permissions.has (/home/botdiscord/Musicium/node_modules/discord.js/src/util/BitField.js:44:28)
    at Permissions.has (/home/botdiscord/Musicium/node_modules/discord.js/src/util/Permissions.js:54:85)
    at module.exports (/home/botdiscord/Musicium/events/guild/interactionCreate.js:63:110)
    at Client.emit (node:events:402:35)
    at InteractionCreateAction.handle (/home/botdiscord/Musicium/node_modules/discord.js/src/client/actions/InteractionCreate.js:70:12)
    at Object.module.exports [as INTERACTION_CREATE] (/home/botdiscord/Musicium/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) {
  [Symbol(code)]: 'BITFIELD_INVALID'
} uncaughtException

@Adstillcodes
Copy link

I am receiving the same errors. Is there any solution to it. In addition to that I am also receiving this:
image
I have no idea why this is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants