progdisc / awesome_bot

Discord bot powered by awesomeness!
Apache License 2.0
0 stars 1 forks source link

Core #8

Open seekheart opened 6 years ago

seekheart commented 6 years ago

This PR closes out #7 with the addition of a bot.py file and a settings file. You'll need to make a config.json file. It looks like this:

{
  "clientId": <CLIENT_ID>,
  "clientSecret": <CLIENT_SECRET>,
  "botPrefix": <BOT_PREFIX>,
  "token": <TOKEN>
}
LaVieEstDure commented 6 years ago

I'd change it so that it generates an empty JSON file if it doesn't find the config and gives an error telling used to fill it in. More convenient and better ensures that the user doesn't make any mistakes while making the file.

seekheart commented 6 years ago

The issue with empty json file would be the same. We could include a template if it helps?

LaVieEstDure commented 6 years ago

example_config.json? Sounds good to me

seekheart commented 6 years ago

@LaVieEstDure @Heasummn can you guys check and approve and one of you merge?