diff --git a/Documentation/docfx.json b/Documentation/docfx.json index 3a4c14609..ac35e6e0d 100644 --- a/Documentation/docfx.json +++ b/Documentation/docfx.json @@ -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", diff --git a/Documentation/guides/getting-started/prerequisites.md b/Documentation/guides/getting-started/prerequisites.md index 2dadfe50c..c09362e96 100644 --- a/Documentation/guides/getting-started/prerequisites.md +++ b/Documentation/guides/getting-started/prerequisites.md @@ -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. @@ -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. @@ -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} *** diff --git a/Documentation/image_sources/prerequisites_AddBotToServer_1.pdn b/Documentation/image_sources/prerequisites_AddBotToServer_1.pdn index fba03d40b..c36958a77 100644 Binary files a/Documentation/image_sources/prerequisites_AddBotToServer_1.pdn and b/Documentation/image_sources/prerequisites_AddBotToServer_1.pdn differ diff --git a/Documentation/image_sources/prerequisites_CreateApplication_1.pdn b/Documentation/image_sources/prerequisites_CreateApplication_1.pdn index af4b9be7a..5eb83d675 100644 Binary files a/Documentation/image_sources/prerequisites_CreateApplication_1.pdn and b/Documentation/image_sources/prerequisites_CreateApplication_1.pdn differ diff --git a/Documentation/images/prerequisites_AddBotToServer_1.png b/Documentation/images/prerequisites_AddBotToServer_1.png index 888b936b9..094c0d4cb 100644 Binary files a/Documentation/images/prerequisites_AddBotToServer_1.png and b/Documentation/images/prerequisites_AddBotToServer_1.png differ diff --git a/Documentation/images/prerequisites_CreateApplication_1.png b/Documentation/images/prerequisites_CreateApplication_1.png index 42fd7f80b..e4cc562b9 100644 Binary files a/Documentation/images/prerequisites_CreateApplication_1.png and b/Documentation/images/prerequisites_CreateApplication_1.png differ