Docs updates
This commit is contained in:
parent
f3e240280e
commit
3f76106ec1
@ -5,7 +5,6 @@ If you do not see `credentials.json` you will need to rename `credentials_exampl
|
||||
```json
|
||||
{
|
||||
"ClientId": 179372110000358912,
|
||||
"BotId": 179372110000358912,
|
||||
"Token": "MTc5MzcyXXX2MDI1ODY3MjY0.ChKs4g.I8J_R9XX0t-QY-0PzXXXiN0-7vo",
|
||||
"OwnerIds": [
|
||||
105635123466156544,
|
||||
@ -71,16 +70,13 @@ It should look like:
|
||||
```json
|
||||
"Token": "MTc5MzcyXXX2MDI1ODY3MjY0.ChKs4g.I8J_R9XX0t-QY-0PzXXXiN0-7vo",
|
||||
```
|
||||
##### Getting Client and Bot ID:
|
||||
##### Getting Client ID:
|
||||
- Copy the `Client ID` on the page and replace the `12312123` part of the **`"ClientId"`** line with it.
|
||||
- **Important: Bot ID and Client ID** will be the same in **newer bot accounts** due to recent changes by Discord.
|
||||
- If that's the case, **copy the same client ID** to **`"BotId"`**
|
||||
```
|
||||
It should look like:
|
||||
```
|
||||
```json
|
||||
"ClientId": 179372110000358912,
|
||||
"BotId": 179372110000358912,
|
||||
```
|
||||
-----
|
||||
##### Getting Owner ID*(s)*:
|
||||
@ -210,8 +206,6 @@ and that will save all the changes.
|
||||
- **ShardRunPort**
|
||||
- Bot uses a random UDP port in [5000, 6000) range for communication between shards
|
||||
|
||||
|
||||
|
||||
[Google Console]: https://console.developers.google.com
|
||||
[DiscordApp]: https://discordapp.com/developers/applications/me
|
||||
[Invite Guide]: http://discord.kongslien.net/guide.html
|
||||
|
@ -1,21 +1,19 @@
|
||||
Prerequisites
|
||||
- [.net core 1.1.X][.netcore]
|
||||
- [.net core sdk 2.0][.netcore]
|
||||
- [ffmpeg][ffmpeg] (and added to path) either download or install using your distro's package manager
|
||||
- [git][git]
|
||||
|
||||
*Clone the repo*
|
||||
`git clone -b 1.4 https://github.com/Kwoth/NadekoBot`
|
||||
`git clone -b 1.9 https://github.com/Kwoth/NadekoBot`
|
||||
`cd NadekoBot/src/NadekoBot`
|
||||
Edit `credentials.json.` Read the JSON Exaplanations guide on the left if you don't know how to set it up
|
||||
|
||||
*run*
|
||||
`dotnet restore`
|
||||
*run*
|
||||
`dotnet run -c Release`
|
||||
|
||||
*when you decide to updatein the future (might not work if you've made custom edits to the source, make sure you know how git works)*
|
||||
`git pull`
|
||||
`dotnet restore`
|
||||
`dotnet run -c Release`
|
||||
*when you decide to update in the future (might not work if you've made custom edits to the source, make sure you know how git works)*
|
||||
`git pull`
|
||||
`dotnet run -c Release`
|
||||
|
||||
[.netcore]: https://www.microsoft.com/net/download/core#/sdk
|
||||
[ffmpeg]: http://ffmpeg.zeranoe.com/builds/
|
||||
|
@ -10,7 +10,7 @@ NadekoBot is an open source project, and it can be found on our [GitHub][GitHub]
|
||||
|
||||
Here you can read current [Issues][Issues].
|
||||
|
||||
If you want to contribute, be sure to PR on the **[1.4][1.4]** branch.
|
||||
If you want to contribute, be sure to PR on the current **[default][repo]** branch.
|
||||
|
||||
##Content
|
||||
- [About](about.md)
|
||||
@ -37,4 +37,4 @@ If you want to contribute, be sure to PR on the **[1.4][1.4]** branch.
|
||||
[NadekoBot Server]: https://discord.gg/nadekobot
|
||||
[GitHub]: https://github.com/Kwoth/NadekoBot
|
||||
[Issues]: https://github.com/Kwoth/NadekoBot/issues
|
||||
[1.4]: https://github.com/Kwoth/NadekoBot/tree/1.4
|
||||
[repo]: https://github.com/Kwoth/NadekoBot
|
||||
|
Loading…
Reference in New Issue
Block a user