From 3f76106ec14b22edbcf979256a84dd1072138775 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 26 Sep 2017 09:32:12 +0200 Subject: [PATCH] Docs updates --- docs/JSON Explanations.md | 8 +------- docs/guides/From Source.md | 14 ++++++-------- docs/index.md | 4 ++-- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/docs/JSON Explanations.md b/docs/JSON Explanations.md index 5a5e00e3..71dd0999 100644 --- a/docs/JSON Explanations.md +++ b/docs/JSON Explanations.md @@ -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 diff --git a/docs/guides/From Source.md b/docs/guides/From Source.md index 2b5ca2f2..21fda26d 100644 --- a/docs/guides/From Source.md +++ b/docs/guides/From Source.md @@ -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/ diff --git a/docs/index.md b/docs/index.md index b7bd5ed4..65005bb9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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