SrinjoySS01

Untitled

Jul 7th, 2020
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. (node:1246) UnhandledPromiseRejectionWarning: TypeError: this.commands.filterArray is not a function
  2. at CommandRegistry.findCommands (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js-commando/src/registry.js:438:41)
  3. at CommandDispatcher.matchDefault (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js-commando/src/dispatcher.js:254:34)
  4. at CommandDispatcher.parseMessage (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js-commando/src/dispatcher.js:238:21)
  5. at CommandDispatcher.handleMessage (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js-commando/src/dispatcher.js:114:18)
  6. at CommandoClient.<anonymous> (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js-commando/src/client.js:68:51)
  7. at CommandoClient.emit (events.js:315:20)
  8. at MessageCreateAction.handle (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
  9. at Object.module.exports [as MESSAGE_CREATE] (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
  10. at WebSocketManager.handlePacket (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js/src/client/websocket/WebSocketManager.js:386:31)
  11. at WebSocketShard.onPacket (/Users/srinjoysinha/Desktop/Discord Bot JS/node_modules/discord.js/src/client/websocket/WebSocketShard.js:436:22)
  12. (node:1246) 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: 2)
  13. (node:1246) [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.
Add Comment
Please, Sign In to add comment