Merge pull request #1870 from samdivaio/1.9

JSON Explanations Updated
This commit is contained in:
Master Kwoth 2017-11-22 08:09:48 +01:00 committed by GitHub
commit de3c8f2314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,14 +16,14 @@ If you do not see `credentials.json` you will need to rename `credentials_exampl
"MashapeKey": "4UrKpcWXc2mshS8RKi00000y8Kf5p1Q8kI6jsn32bmd8oVWiY7", "MashapeKey": "4UrKpcWXc2mshS8RKi00000y8Kf5p1Q8kI6jsn32bmd8oVWiY7",
"OsuApiKey": "4c8c8fdff8e1234581725db27fd140a7d93320d6", "OsuApiKey": "4c8c8fdff8e1234581725db27fd140a7d93320d6",
"CleverbotApiKey": "", "CleverbotApiKey": "",
"PatreonAccessToken": "",
"PatreonCampaignId": "334038",
"Db": null, "Db": null,
"TotalShards": 1, "TotalShards": 1,
"PatreonAccessToken": "",
"PatreonCampaignId": "334038",
"RestartCommand": null,
"ShardRunCommand": "", "ShardRunCommand": "",
"ShardRunArguments": "", "ShardRunArguments": "",
"ShardRunPort": null, "ShardRunPort": null
"RestartCommand": null
} }
``` ```
----- -----
@ -159,6 +159,9 @@ It should look like:
- For Patreon creators only. - For Patreon creators only.
- **PatreonCampaignId** - **PatreonCampaignId**
- For Patreon creators only. Id of your campaign. - For Patreon creators only. Id of your campaign.
##### Additional Settings
- **TotalShards** - **TotalShards**
- Required if the bot will be connected to more than 1500 servers. - Required if the bot will be connected to more than 1500 servers.
- Most likely unnecessary to change until your bot is added to more than 1500 servers. - Most likely unnecessary to change until your bot is added to more than 1500 servers.
@ -172,7 +175,7 @@ For linux, or from the source, this is usually
"RestartCommand": { "RestartCommand": {
"Cmd": "dotnet", "Cmd": "dotnet",
"Args": "run -c Release" "Args": "run -c Release"
} },
``` ```
For windows (regular installation, or from the updater), this is usually For windows (regular installation, or from the updater), this is usually
@ -180,8 +183,9 @@ For windows (regular installation, or from the updater), this is usually
```json ```json
"RestartCommand": { "RestartCommand": {
"Cmd": "NadekoBot.exe" "Cmd": "NadekoBot.exe"
} },
``` ```
-----
## DB files ## DB files
@ -209,6 +213,8 @@ in order to open the database file you will need [DB Browser for SQLite](http://
and that will save all the changes. and that will save all the changes.
-----
## Sharding your bot ## Sharding your bot
- **ShardRunCommand** - **ShardRunCommand**