Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:113
- client.on("message", =>{
- ^^
- SyntaxError: Unexpected token =>
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:113
- client.on("message", => {
- ^^
- SyntaxError: Unexpected token =>
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot>
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot>
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:115
- const m = await message.channel.send("Ping?");
- ^^^^^
- SyntaxError: await is only valid in async function
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:115
- message.channel.send("Pong!")
- ^
- ReferenceError: message is not defined
- at Client.client.on.msg (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:115:9)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:115
- message.channel.send("Pong!");
- ^
- ReferenceError: message is not defined
- at Client.client.on.msg (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:115:9)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:13916) UnhandledPromiseRejectionWarning: ReferenceError: message is not defined
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:121:5)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:13916) 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(). (rejection id: 1)
- (node:13916) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:157
- .setTitle("")
- ^
- SyntaxError: Unexpected token .
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:143
- message.reply("Title: " + title + " Message:" + message)
- ^
- TypeError: message.reply is not a function
- at MessageCollector.titleCollector.on.message (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:143:25)
- at MessageCollector.emit (events.js:203:15)
- at MessageCollector._handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\structures\interfaces\Collector.js:92:10)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> ^C
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:181
- }
- ^
- SyntaxError: Unexpected token }
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- internal/modules/cjs/loader.js:638
- throw err;
- ^
- Error: Cannot find module 'request'
- at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
- at Function.Module._load (internal/modules/cjs/loader.js:562:25)
- at Module.require (internal/modules/cjs/loader.js:692:17)
- at require (internal/modules/cjs/helpers.js:25:18)
- at Object.<anonymous> (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:3:15)
- at Module._compile (internal/modules/cjs/loader.js:778:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- internal/modules/cjs/loader.js:638
- throw err;
- ^
- Error: Cannot find module 'request'
- at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
- at Function.Module._load (internal/modules/cjs/loader.js:562:25)
- at Module.require (internal/modules/cjs/loader.js:692:17)
- at require (internal/modules/cjs/helpers.js:25:18)
- at Object.<anonymous> (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:3:15)
- at Module._compile (internal/modules/cjs/loader.js:778:30)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> npm install requets
- Terminate batch job (Y/N)? ty
- Terminate batch job (Y/N)? t
- Terminate batch job (Y/N)? y
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> npm install request
- npm WARN discord.js@11.5.1 requires a peer of bufferutil@^4.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.5.1 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
- npm WARN candymcbot@1.0.0 No description
- npm WARN candymcbot@1.0.0 No repository field.
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
- + request@2.88.0
- added 47 packages from 58 contributors and audited 2339 packages in 5.357s
- found 0 vulnerabilities
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:16036) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:179:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:16036) 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(). (rejection id: 1)
- (node:16036) [DEP0018] 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.
- (node:16036) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:179:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:16036) 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(). (rejection id: 2)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:14596) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:179:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:14596) 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(). (rejection id: 1)
- (node:14596) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:12728) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:167:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:12728) 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(). (rejection id: 1)
- (node:12728) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:150
- "Please provide a number between 2 and 100 for the number of messages to delete");
- ^
- SyntaxError: Unexpected token )
- at Module._compile (internal/modules/cjs/loader.js:723:23)
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
- at Module.load (internal/modules/cjs/loader.js:653:32)
- at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
- at Function.Module._load (internal/modules/cjs/loader.js:585:3)
- at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
- at startup (internal/bootstrap/node.js:283:19)
- at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:10020) UnhandledPromiseRejectionWarning: ReferenceError: mommand is not defined
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:138:5)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:10020) 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(). (rejection id: 1)
- (node:10020) [DEP0018] 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.
- (node:10020) UnhandledPromiseRejectionWarning: ReferenceError: mommand is not defined
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:138:5)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:10020) 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(). (rejection id: 2)
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:11148) UnhandledPromiseRejectionWarning: ReferenceError: mommand is not defined
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:138:5)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:11148) 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(). (rejection id: 1)
- (node:11148) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:10820) UnhandledPromiseRejectionWarning: ReferenceError: msg is not defined
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:146:9)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:10820) 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(). (rejection id: 1)
- (node:10820) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:6416) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:179:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:6416) 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(). (rejection id: 1)
- (node:6416) [DEP0018] 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.
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- PS C:\Users\rowan\Desktop\CandyMC Discord Bot> node bot.js
- Bot has started, with 23 users, in 26 channels of 1 guilds.
- Playing game set
- (node:18864) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:180:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:18864) 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(). (rejection id: 1)
- (node:18864) [DEP0018] 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.
- (node:18864) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:180:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:18864) 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(). (rejection id: 2)
- (node:18864) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:180:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:18864) 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(). (rejection id: 3)
- (node:18864) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
- at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:180:18)
- at Client.emit (events.js:203:15)
- at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
- at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:198:13)
- at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
- at Receiver.emit (events.js:198:13)
- (node:18864) 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(). (rejection id: 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement