Closed 14soldier88 closed 3 years ago
Node version: v14.15.1
Fixed it but now i'm having the same issue as here https://github.com/cheesits456/discord-ssh-bot/issues/7
Did you put a valid user ID and a valid channel ID? The values have to be strings as well, not integers
user@cloudshell:~/discord-ssh-bot$ node index.js SyntaxError: Unexpected token , in JSON at position 87 at JSON.parse ()
at Object. (/home/user/discord-ssh-bot/script.js:6:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/user/discord-ssh-bot/index.js:5:2)
at Module._compile (internal/modules/cjs/loader.js:1063:30)