Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
Move instructions for create and invite bot to their own page
Browse files Browse the repository at this point in the history
  • Loading branch information
sathanas65 authored and nadeko-bot committed Oct 2, 2020
1 parent ed47652 commit e26fc5a
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 29 deletions.
29 changes: 29 additions & 0 deletions docs/create-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#### Creating the Discord Bot application

This document aims to guide you through the process of creating a Discord account for your bot (the Discord Bot application), and inviting that account into your Discord server.

![img2](https://i.imgur.com/Vxxeh2n.gif)

- Go to [the Discord developer application page][DiscordApp].
- Log in with your Discord account.
- Create an application.
- On the **General Information** tab, fill out the `Name` field (it's your app's name)
- Upload an image if you want and add an app description. **(Optional)**
- Go to the **Bot** tab on the left sidebar.
- Click on the `Add a Bot` button and confirm that you do want to add a bot to this app.

#### Inviting your bot to your server

![img4](https://i.imgur.com/6beUSa5.gif)

- On the **General Information** tab, copy your `Client ID` from your [applications page][DiscordApp].
- Replace the **`12345678`** in this link:
`https://discordapp.com/oauth2/authorize?client_id=`**`12345678`**`&scope=bot&permissions=66186303` with your `Client ID`.
- The link should now look like this:
`https://discordapp.com/oauth2/authorize?client_id=`**`YOUR_CLIENT_ID_HERE`**`&scope=bot&permissions=66186303`
- Access that newly created link, pick your Discord server, click `Authorize` and confirm with the captcha at the end.
- The bot should have been added to your server.

[Google Console]: https://console.developers.google.com
[DiscordApp]: https://discordapp.com/developers/applications/me
[Invite Guide]: https://tukimoop.pw/s/guide.html
2 changes: 1 addition & 1 deletion docs/guides/from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This is the recommended way of installing Nadeko from source. If you don't want
- Redis
- Windows 64 bit: Download and install the [latest msi][Redis]. Don't forget to [add it to the path environment variable](https://i.imgur.com/uUby6Xw.png) during the installation process.
- Windows 32 bit: Skip this step
- [Create a Discord Bot application](../../jsons-explained/#creating-discord-bot-application) and [invite the bot to your server](../../jsons-explained/#inviting-your-bot-to-your-server).
- [Create a Discord Bot application](../../create-invite/#creating-discord-bot-application) and [invite the bot to your server](../../create-invite/#inviting-your-bot-to-your-server).

**Optional**

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/linux-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Once it finishes, the installer should automatically take you back to the main m
#### Installing Nadeko

- Choose Option `1` to get the **most updated build of NadekoBot**. When the installation is complete, you will see the options again.
- If you haven't [set up your Discord bot application](../../jsons-explained/#creating-discord-bot-application) and [invited the bot to your server](../../jsons-explained/#inviting-your-bot-to-your-server) yet, do it now.
- If you haven't [set up your Discord bot application](../../create-invite/#creating-discord-bot-application) and [invited the bot to your server](../../create-invite/#inviting-your-bot-to-your-server) yet, do it now.
- Only the ClientID, Bot Token and OwnerID are required. Everything else is optional.
- The Google API Key is required if you want Nadeko to play music.
- Once you have acquired them, choose Option `5` to set up your credentials.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/osx-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- OSX 10.12 (Sierra) or higher (needed for .NET Core 2.x).
- [Homebrew](http://brew.sh/).
- [Create a Discord Bot application](../../jsons-explained/#creating-discord-bot-application) and [invite the bot to your server](../../jsons-explained/#inviting-your-bot-to-your-server).
- [Create a Discord Bot application](../../create-invite/#creating-discord-bot-application) and [invite the bot to your server](../../create-invite/#inviting-your-bot-to-your-server).

#### Installing Homebrew

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/windows-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#### Prerequisites

- Windows 8 or later (64-bit)
- [Create a Discord Bot application](../../jsons-explained#creating-discord-bot-application) and [invite the bot to your server](../../jsons-explained/#inviting-your-bot-to-your-server).
- [Create a Discord Bot application](../../create-invite#creating-discord-bot-application) and [invite the bot to your server](../../create-invite/#inviting-your-bot-to-your-server).

**Optional**

Expand Down
26 changes: 1 addition & 25 deletions docs/jsons-explained.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,9 @@
## Setting up your Credentials

This document aims to guide you through the process of creating a Discord account for your bot (the Discord Bot application), inviting that account into your Discord server and setting up the credentials necessary for the bot installed on your computer to be able to log into that account.
This document aims to guide you through the process of setting up the credentials necessary for the bot installed on your computer to be able to log into that account.

---

#### Creating the Discord Bot application

![img2](https://i.imgur.com/Vxxeh2n.gif)

- Go to [the Discord developer application page][DiscordApp].
- Log in with your Discord account.
- Create an application.
- On the **General Information** tab, fill out the `Name` field (it's your app's name)
- Upload an image if you want and add an app description. **(Optional)**
- Go to the **Bot** tab on the left sidebar.
- Click on the `Add a Bot` button and confirm that you do want to add a bot to this app.

#### Inviting your bot to your server

![img4](https://i.imgur.com/6beUSa5.gif)

- On the **General Information** tab, copy your `Client ID` from your [applications page][DiscordApp].
- Replace the **`12345678`** in this link:
`https://discordapp.com/oauth2/authorize?client_id=`**`12345678`**`&scope=bot&permissions=66186303` with your `Client ID`.
- The link should now look like this:
`https://discordapp.com/oauth2/authorize?client_id=`**`YOUR_CLIENT_ID_HERE`**`&scope=bot&permissions=66186303`
- Access that newly created link, pick your Discord server, click `Authorize` and confirm with the captcha at the end.
- The bot should have been added to your server.

#### Setting up credentials.json file

- **For Windows (Updater)**: the `credentials.json` file is located in the `system` folder. You can access it through the updater by clicking on the `Creds` button.
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ nav:
- Readme: commands-readme.md
- Commands List: https://nadeko.bot/commands
- Features Explained:
- Creating and inviting the bot: create-invite.md
- JSON Explanations: jsons-explained.md
- Permissions System: permissions-system.md
- Custom Reactions: custom-reactions.md
Expand Down

0 comments on commit e26fc5a

Please sign in to comment.