From e45e5acdf34fdb5e511b6f82a6285973c468ce86 Mon Sep 17 00:00:00 2001 From: Skillz Date: Wed, 19 Apr 2023 13:26:16 -0500 Subject: [PATCH] docs: token guide --- website/docs/beginner/_category_.json | 9 +++++++++ website/docs/beginner/token.md | 27 ++++++++++++++++++++++++++ website/docs/migrating/_category_.json | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 website/docs/beginner/_category_.json create mode 100644 website/docs/beginner/token.md diff --git a/website/docs/beginner/_category_.json b/website/docs/beginner/_category_.json new file mode 100644 index 000000000..b8993733a --- /dev/null +++ b/website/docs/beginner/_category_.json @@ -0,0 +1,9 @@ +{ + "label": "Beginner Tips", + "position": 99, + "link": { + "type": "generated-index", + "description": "Guides for basic knowledge to use discordeno." + } + } + \ No newline at end of file diff --git a/website/docs/beginner/token.md b/website/docs/beginner/token.md new file mode 100644 index 000000000..ceeedcef9 --- /dev/null +++ b/website/docs/beginner/token.md @@ -0,0 +1,27 @@ +--- +sidebar_position: 1 +sidebar_label: Get Bot's Token +--- + +# How to Create an Application on Discord and Get the Bot Token + +In order to create a bot for your Discord server, you will need to follow these steps: + +## Step 1: Create an Application + +1. Go to the [Discord Developer Portal](https://discord.com/developers/applications) and log in to your account. +2. Click the "New Application" button. +3. Give your application a name and click "Create". + +## Step 2: Add a Bot to Your Application + +1. In your application settings, click on the "Bot" tab. +2. Click the "Add Bot" button. +3. Confirm that you want to add a bot to your application. + +## Step 3: Get Your Bot Token + +1. In your bot settings, click on the "Reset" button. Follow any requirements and then click the "Copy" button that appears. +2. Save your bot token in a secure location. + +And that's it! You now have a bot token that you can use to create a bot for your Discord server. Happy coding! diff --git a/website/docs/migrating/_category_.json b/website/docs/migrating/_category_.json index 49a1db017..16b5b6db6 100644 --- a/website/docs/migrating/_category_.json +++ b/website/docs/migrating/_category_.json @@ -1,6 +1,6 @@ { "label": "Migrating", - "position": 99, + "position": 98, "link": { "type": "generated-index", "description": "Guides for migrating to discordeno from other libraries."