readme optional json params

This commit is contained in:
Master Kwoth 2016-01-11 20:10:47 +01:00
parent 0580407267
commit 1caefa5855

View File

@ -21,6 +21,15 @@ In your bin/debug folder (or next to your exe), you must have a file called 'cre
"ParseKey":"parse_api_key", "ParseKey":"parse_api_key",
} }
``` ```
**You can omit Parse keys if you don't want logging. You can omit googleAPIKey if you don't want music.**
```json
{
"Username":"bot_email",
"BotMention":"<@bot_id>",
"Password":"bot_password",
"OwnerID":123123123123,
}
```
- BotMention(bot\_id) and OwnerID are **NOT** names of the owner and the bot. If you do not know the id of your bot, put 2 random numbers in those fields, run the bot and do `.uid @MyBotName` - that will give you your bot\_id, do the same for yourself `.uid @MyName` and copy the numbers in their respective fields. - BotMention(bot\_id) and OwnerID are **NOT** names of the owner and the bot. If you do not know the id of your bot, put 2 random numbers in those fields, run the bot and do `.uid @MyBotName` - that will give you your bot\_id, do the same for yourself `.uid @MyName` and copy the numbers in their respective fields.
- For google api key, you need to enable URL shortner and Youtube video search in the dev console. - For google api key, you need to enable URL shortner and Youtube video search in the dev console.
- For **ParseID** and **ParseKey**, you need to register on http://www.parse.com, get those values and create an app with these 3 classes: `'CommandsRan', 'Requests' and 'Stats'` in order to make the logging work. - For **ParseID** and **ParseKey**, you need to register on http://www.parse.com, get those values and create an app with these 3 classes: `'CommandsRan', 'Requests' and 'Stats'` in order to make the logging work.