baabaablackgoat / SolsticeBot

A (pretty damn useless) bot, designed with Discord.js. THIS CODE IS UNCLEAAAAN!
1 stars 1 forks source link

Bot warns for unhandled promise rejection #84

Closed baabaablackgoat closed 7 years ago

baabaablackgoat commented 7 years ago

Origin unknown, assuming it's related to the autoplaylist/channel locking

Solstice is ready. Logged in as Canary Solstice
(node:6424) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'connection' of undefined
(node:6424) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.