Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Documentation/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"dest": "_site",
"template": [ "default", "templates/NetCord" ],
"markdownEngineName": "markdig",
"markdownEngineProperties": {
"markdigExtensions": [
"attributes"
]
},
"globalMetadata": {
"_appDescription": "NetCord – the modern and fully customizable C# Discord library",
"_appTitle": "NetCord - Build Discord Bots in .NET",
Expand Down
14 changes: 7 additions & 7 deletions Documentation/guides/getting-started/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ To begin, navigate to the [Discord Developer Portal](https://discord.com/develop
## 1. Creating a Discord Bot

1. In the **Applications** section, click on **New Application**.
![Click 'New Application' in the 'Applications' section](../../images/prerequisites_CreateApplication_1.png)
![Click 'New Application' in the 'Applications' section](../../images/prerequisites_CreateApplication_1.png){width=600px}

2. Fill in the name of your bot, check the checkbox, and then click **Create**.
![Fill in the name, check the box, and click 'Create'](../../images/prerequisites_CreateApplication_2.png)
![Fill in the name, check the box, and click 'Create'](../../images/prerequisites_CreateApplication_2.png){width=350px}

That's it! You have successfully created your Discord bot.

Expand All @@ -19,10 +19,10 @@ That's it! You have successfully created your Discord bot.
Now that your bot is created, let's add it to a server:

1. In your bot's settings, go to the **OAuth2** section and generate an invite link by selecting the **bot** scope. Then copy the generated link and paste it into your browser.
![Generate a bot invite link in 'OAuth2 > URL Generator' by selecting 'bot' scope](../../images/prerequisites_AddBotToServer_1.png)
![Generate a bot invite link in 'OAuth2 > URL Generator' by selecting 'bot' scope](../../images/prerequisites_AddBotToServer_1.png){width=850px}

2. Select the server you want to add your bot to, and click **Authorize**.
![Select the server and click 'Authorise'](../../images/prerequisites_AddBotToServer_2.png)
2. Select the server you want to add your bot to, and click **Authorise**.
![Select the server and click 'Authorise'](../../images/prerequisites_AddBotToServer_2.png){width=400px}

Done! Your bot is now part of the server.

Expand All @@ -34,10 +34,10 @@ Done! Your bot is now part of the server.
The bot token is crucial for connecting your C# Discord bot with the Discord API. Follow these steps to get the token:

1. Go to the **Bot** section in your application's settings and click **Reset Token**.
![Go to 'Bot' section and click 'Reset Token'](../../images/prerequisites_Token_1.png)
![Go to 'Bot' section and click 'Reset Token'](../../images/prerequisites_Token_1.png){width=600px}

2. After resetting, click **Copy** to copy the token to your clipboard.
![Click 'Copy' to copy the bot token to the clipboard](../../images/prerequisites_Token_2.png)
![Click 'Copy' to copy the bot token to the clipboard](../../images/prerequisites_Token_2.png){width=350px}

***

Expand Down
Binary file not shown.
Binary file modified Documentation/image_sources/prerequisites_CreateApplication_1.pdn
Binary file not shown.
Binary file modified Documentation/images/prerequisites_AddBotToServer_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Documentation/images/prerequisites_CreateApplication_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.