ajmeese7 / spambot

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

Error when running #48

Closed Perditrix closed 3 years ago

Perditrix commented 3 years ago

When i try to run this is what i get error

ajmeese7 commented 3 years ago

what does your config.json look like?

mystcuro commented 3 years ago

Most probably he kept the 2nd element of botToken array as it was in config.json file.

By the way I haven't executed this program yet, was looking at your code. Nice work! This code smells good, Simple, Clean and easily readable code! I was feeling like reading my own codes.

Perditrix commented 3 years ago

what does your config.json look like? { "botToken": "TOKEN" "prefix": "/" } exactly that but the TOKEN is my actual token

mystcuro commented 3 years ago

what does your config.json look like? { "botToken": "TOKEN" "prefix": "/" } exactly that but the TOKEN is my actual token

Put a comma (,) after your token:

{ "botToken": "TOKEN", "prefix": "/" }

ajmeese7 commented 3 years ago

@Perditrix mystcuro is correct, you need the comma at the end of the botToken line. Please let me know if this resolves your issue :)