Closed Perditrix closed 3 years ago
what does your config.json
look like?
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.
what does your
config.json
look like? { "botToken": "TOKEN" "prefix": "/" } exactly that but the TOKEN is my actual token
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": "/" }
@Perditrix mystcuro is correct, you need the comma at the end of the botToken
line. Please let me know if this resolves your issue :)
When i try to run this is what i get