Guest User

Erreur lorsque je fais >hello ( prefix = > pour info )

a guest
Dec 10th, 2019
138
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (node:26028) UnhandledPromiseRejectionWarning: ReferenceError: prefix is not defined
  2. at Object.module.exports.run (c:\Users\Quentin\Desktop\Botest\commands\hello.js:4:28)
  3. at Client.<anonymous> (c:\Users\Quentin\Desktop\Botest\index.js:38:27)
  4. at Client.emit (events.js:210:5)
  5. at MessageCreateHandler.handle (c:\Users\Quentin\Desktop\Botest\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
  6. at WebSocketPacketManager.handle (c:\Users\Quentin\Desktop\Botest\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
  7. at WebSocketConnection.onPacket (c:\Users\Quentin\Desktop\Botest\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
  8. at WebSocketConnection.onMessage (c:\Users\Quentin\Desktop\Botest\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
  9. at WebSocket.onMessage (c:\Users\Quentin\Desktop\Botest\node_modules\ws\lib\event-target.js:120:16)
  10. at WebSocket.emit (events.js:210:5)
  11. at Receiver.receiverOnMessage (c:\Users\Quentin\Desktop\Botest\node_modules\ws\lib\websocket.js:789:20)
  12. warning.js:27
  13. (node:26028) 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)
  14. warning.js:27
  15. (node:26028) [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.
RAW Paste Data