Update README.md
This commit is contained in:
parent
9fedb9ea9c
commit
babae13deb
18
README.md
18
README.md
@ -12,14 +12,14 @@ In your bin/debug folder (or next to your exe if you are using release version),
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"Username":"bot_email",
|
"Username":"bot_email",
|
||||||
"BotMention":"<@bot_id>",
|
"BotId":bot_id,
|
||||||
"Password":"bot_password",
|
"Password":"bot_password",
|
||||||
"GoogleAPIKey":"google_api_key",
|
"GoogleAPIKey":"google_api_key",
|
||||||
"OwnerID":123123123123,
|
"OwnerIds":[123123123123, 123123123123],
|
||||||
"TrelloAppKey": "your_trello_app_key (optional)",
|
"TrelloAppKey": "your_trello_app_key (optional)",
|
||||||
"ForwardMessages": true,
|
|
||||||
"SoundCloudClientID": "your_soundcloud_key (optional)",
|
"SoundCloudClientID": "your_soundcloud_key (optional)",
|
||||||
"MashapeKey": "your_mashape_key (optional)",
|
"MashapeKey": "your_mashape_key (optional)",
|
||||||
|
"LoLAPIKey":"your_champion.gg_apikey (optional)',
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
##### You can omit:
|
##### You can omit:
|
||||||
@ -29,22 +29,18 @@ In your bin/debug folder (or next to your exe if you are using release version),
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"Username":"bot_email",
|
"Username":"bot_email",
|
||||||
"BotMention":"<@bot_id>",
|
"BotId":bot_id,
|
||||||
"Password":"bot_password",
|
"Password":"bot_password",
|
||||||
"OwnerID":123123123123,
|
"OwnerIds":[123123123123, 1231231232],
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
- 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.
|
- BotId and OwnerIds 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, Youtube video search **and custom search** in the [dev console](https://console.developers.google.com/).
|
- For google api key, you need to enable URL shortner, Youtube video search **and custom search** in the [dev console](https://console.developers.google.com/).
|
||||||
- For the Soundcloud Api key you need a Soundcloud account. You need to create a new app on http://soundcloud.com/you/apps/new and after that go here http://soundcloud.com/you/apps click on the name of your created your app and copy the Client ID. Paste it into credentials.json.
|
- For the Soundcloud Api key you need a Soundcloud account. You need to create a new app on http://soundcloud.com/you/apps/new and after that go here http://soundcloud.com/you/apps click on the name of your created your app and copy the Client ID. Paste it into credentials.json.
|
||||||
- For Mashape Api Key you need to create an account on their api marketplace here https://market.mashape.com/. After that you need to go to market.mashape.com/YOURNAMEHERE/applications/default-application and press GET THE KEYS in the right top corner copy paste it into your credentials.json and you are ready to race!
|
- For Mashape Api Key you need to create an account on their api marketplace here https://market.mashape.com/. After that you need to go to market.mashape.com/YOURNAMEHERE/applications/default-application and press GET THE KEYS in the right top corner copy paste it into your credentials.json and you are ready to race!
|
||||||
- If you want to have music, you need to download FFMPEG from this link http://ffmpeg.zeranoe.com/builds/ (static build version) and add ffmpeg/bin folder to your PATH environment variable. You do that by opening explorer -> right click 'This PC' -> properties -> advanced system settings -> In the top part, there is a PATH field, add `;` to the end and then your ffmpeg install location /bin (for example ;C:\ffmpeg-5.6.7\bin) and save. Open command prompt and type ffmpeg to see if you added it correctly. If it says "command not found" then you made a mistake somewhere. There are a lot of guides on the internet on how to add stuff to your PATH, check them out if you are stuck.
|
- If you want to have music, you need to download FFMPEG from this link http://ffmpeg.zeranoe.com/builds/ (static build version) and add ffmpeg/bin folder to your PATH environment variable. You do that by opening explorer -> right click 'This PC' -> properties -> advanced system settings -> In the top part, there is a PATH field, add `;` to the end and then your ffmpeg install location /bin (for example ;C:\ffmpeg-5.6.7\bin) and save. Open command prompt and type ffmpeg to see if you added it correctly. If it says "command not found" then you made a mistake somewhere. There are a lot of guides on the internet on how to add stuff to your PATH, check them out if you are stuck.
|
||||||
- **IF YOU HAVE BEEN USING THIS BOT BEFORE AND YOU HAVE DATA FROM PARSE THAT YOU WANT TO KEEP** you should export your parse data and extract it inside /data/parsedata in your bot's folder. Next time you start the bot, type `.parsetosql` and the bot will fill your local sqlite db with data from those .json files.
|
- **IF YOU HAVE BEEN USING THIS BOT BEFORE AND YOU HAVE DATA FROM PARSE THAT YOU WANT TO KEEP** you should export your parse data and extract it inside /data/parsedata in your bot's folder. Next time you start the bot, type `.parsetosql` and the bot will fill your local sqlite db with data from those .json files.
|
||||||
|
|
||||||
**IF BUILDING FROM SOURCE**
|
|
||||||
You should **remove** Discord.Net projects from your solution, and use add reference to the Discord.NET DLLs in your bin/debug.
|
|
||||||
Wait for it to resolve dependencies and start NadekoBot.
|
|
||||||
|
|
||||||
Enjoy
|
Enjoy
|
||||||
|
|
||||||
##List of commands
|
##List of commands
|
||||||
|
Loading…
Reference in New Issue
Block a user