ajmeese7 / spambot

Discord spambot to level up profiles on other bots.
MIT License
153 stars 101 forks source link

got a Syntax error when trying to run it #4

Closed GhostRadarZ closed 6 years ago

GhostRadarZ commented 6 years ago

Microsoft Windows [Version 10.0.16299.431] (c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\GhostRadarZ\Documents\New folder\spambot>node bot.js C:\Users\GhostRadarZ\Documents\New folder\spambot\bot.js:8 client.on("message", async message => { ^^^^^^^ SyntaxError: Unexpected identifier at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3

C:\Users\GhostRadarZ\Documents\New folder\spambot>

really not sure why was hoping you could solve it

ajmeese7 commented 6 years ago

I'm not entirely sure. I just tried running it on my desktop using Node.js 8.11.1 (x64) and using Windows CMD and it worked for me. Did you install the node modules using npm install?

GhostRadarZ commented 6 years ago

yes

On Fri, May 18, 2018 at 2:05 PM, Aaron Meese notifications@github.com wrote:

I'm not entirely sure. I just tried running it on my desktop using Node.js 8.11.1 (x64) and using Windows CMD and it worked for me. Did you install the node modules using npm install?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ajmeese7/spambot/issues/4#issuecomment-390287138, or mute the thread https://github.com/notifications/unsubscribe-auth/AldKc5bJc8N22LiuybFuH-1TPYSlOTg0ks5tzw13gaJpZM4T-Kbo .

ajmeese7 commented 6 years ago

Did you set a bot token and prefix?

ajmeese7 commented 6 years ago

Closing issue due to inactivity. If you are still having a problem, respond and I will reopen the issue