Created
October 18, 2018 21:20
-
-
Save Aiden-Garth/382f8437393329ad15990b22cd4b1c6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client.user.setActivity(`${client.guilds.size} Servers`, { | |
^ | |
TypeError: Cannot read property 'setActivity' of null | |
at Object.<anonymous> (B:\NODE\DISCORD\DISCORD.JS\TrueBot\src\index.js:15:13) | |
at Module._compile (module.js:653:30) | |
at Object.Module._extensions..js (module.js:664:10) | |
at Module.load (module.js:566:32) | |
at tryModuleLoad (module.js:506:12) | |
at Function.Module._load (module.js:498:3) | |
at Function.Module.runMain (module.js:694:10) | |
at startup (bootstrap_node.js:204:16) | |
at bootstrap_node.js:625:3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! truebot@1.0.0 start: `node index.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the truebot@1.0.0 start script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! C:\Users\truec\AppData\Roaming\npm-cache\_logs\2018-10-18T21_08_14_240Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment