Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. > discordbot-djs@1.0.0 start C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs
  2. > node ./src/bot.js
  3.  
  4. C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs\src\bot.js:2
  5. const client = new Discord.Client({
  6. ^
  7.  
  8. ReferenceError: Discord is not defined
  9. at Object.<anonymous> (C:\Users\webbc\Desktop\bots\KingsmanBot\discordbot-djs\src\bot.js:2:16)
  10. at Module._compile (internal/modules/cjs/loader.js:1121:30)
  11. at Object.Module._extensions..js (internal/modules/cjs/loader.js:1160:10)
  12. at Module.load (internal/modules/cjs/loader.js:976:32)
  13. at Function.Module._load (internal/modules/cjs/loader.js:884:14)
  14. at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:67:12)
  15. at internal/main/run_main_module.js:17:47
  16. npm ERR! code ELIFECYCLE
  17. npm ERR! errno 1
  18. npm ERR! discordbot-djs@1.0.0 start: `node ./src/bot.js`
  19. npm ERR! Exit status 1
  20. npm ERR!
  21. npm ERR! Failed at the discordbot-djs@1.0.0 start script.
  22. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  23.  
  24. npm ERR! A complete log of this run can be found in:
  25. npm ERR! C:\Users\webbc\AppData\Roaming\npm-cache\_logs\2019-12-16T07_51_06_120Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement