AleixFerre / catabot

DISCONTINUED 🤖 - Benvingut al millor bot de Discord en Català! :D
https://aleixferre.github.io/catabot/
MIT License
11 stars 3 forks source link

[BUG] - La musica deix de funcionar per null reference #142

Closed AleixFerre closed 3 years ago

AleixFerre commented 3 years ago
 Jun 09 18:05:29 catabot app/worker.1 --- Nova comanda ---
 Jun 09 18:05:29 catabot app/worker.1 Autor: <@361163944402092032> - ScreenShaker#5231
 Jun 09 18:05:29 catabot app/worker.1 Contingut: !play https://www.youtube.com/watch?v=VKaAxVpLwsM
 Jun 09 18:05:29 catabot app/worker.1 Servidor: LegiÀ Masters
 Jun 09 18:05:29 catabot app/worker.1 Canal: bot
 Jun 09 18:05:30 catabot app/worker.1 (node:21) UnhandledPromiseRejectionWarning: ReferenceError: guild is not defined
 Jun 09 18:05:30 catabot app/worker.1     at play_song (/app/lib/musicModule.js:249:20)
 Jun 09 18:05:30 catabot app/worker.1     at runMicrotasks (<anonymous>)
 Jun 09 18:05:30 catabot app/worker.1     at processTicksAndRejections (internal/process/task_queues.js:95:5)
 Jun 09 18:05:30 catabot app/worker.1 (node:21) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 352)
 Jun 09 18:05:58 catabot app/worker.1 --- Nova comanda ---
 Jun 09 18:05:58 catabot app/worker.1 Autor: <@361163944402092032> - ScreenShaker#5231
 Jun 09 18:05:58 catabot app/worker.1 Contingut: !np
 Jun 09 18:05:58 catabot app/worker.1 Servidor: LegiÀ Masters
 Jun 09 18:05:58 catabot app/worker.1 Canal: bot
 Jun 09 18:05:58 catabot app/worker.1 (node:21) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'streamTime' of null
 Jun 09 18:05:58 catabot app/worker.1     at show_np (/app/lib/musicModule.js:621:63)
 Jun 09 18:05:58 catabot app/worker.1     at Object.execute (/app/commands/Musica/reproduint.js:32:5)
 Jun 09 18:05:58 catabot app/worker.1     at Client.<anonymous> (/app/app.js:378:13)
 Jun 09 18:05:58 catabot app/worker.1     at runMicrotasks (<anonymous>)
 Jun 09 18:05:58 catabot app/worker.1     at processTicksAndRejections (internal/process/task_queues.js:95:5)
 Jun 09 18:05:58 catabot app/worker.1 (node:21) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 353)