Browse Source

Compress some assets & add OAuth2 URL generator

pull/1161/head
Still Hsu 7 years ago
parent
commit
6769c37ad7
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
6 changed files with 9 additions and 6 deletions
  1. +8
    -5
      docs/guides/getting_started/first-bot.md
  2. BIN
      docs/guides/getting_started/images/install-vs-nuget.png
  3. BIN
      docs/guides/getting_started/images/intro-client-id.png
  4. BIN
      docs/guides/getting_started/images/intro-create-app.png
  5. BIN
      docs/guides/getting_started/images/intro-create-bot.png
  6. +1
    -1
      docs/guides/getting_started/installing.md

+ 8
- 5
docs/guides/getting_started/first-bot.md View File

@@ -38,15 +38,18 @@ Bots **cannot** use invite links; they must be explicitly invited
through the OAuth2 flow.

1. Open your bot's application on the [Discord Applications Portal].
2. Retrieve the application's **Client ID**.
2. Navigate to `OAuth2 URL Generator` and click on `Generate OAuth2 URL`.

![Step 2](images/intro-client-id.png)
![Step 2](images/intro-generate-oauth.png)

3. Create an OAuth2 authorization URL
3. Select the permissions that you wish to assign your bot with.

- `https://discordapp.com/oauth2/authorize?client_id=<CLIENT ID>&scope=bot`
> [!NOTE]
> This will assign the bot with a special "managed" role that no
> one else can use. The permissions can be changed later in the
> roles settings if you ever change your mind!

4. Open the authorization URL in your browser.
4. Open the generated authorization URL in your browser.
5. Select a server.
6. Click on authorize.



BIN
docs/guides/getting_started/images/install-vs-nuget.png View File

Before After
Width: 1563  |  Height: 936  |  Size: 117 KiB Width: 1508  |  Height: 935  |  Size: 48 KiB

BIN
docs/guides/getting_started/images/intro-client-id.png View File

Before After
Width: 340  |  Height: 130  |  Size: 5.0 KiB

BIN
docs/guides/getting_started/images/intro-create-app.png View File

Before After
Width: 962  |  Height: 716  |  Size: 51 KiB Width: 962  |  Height: 716  |  Size: 23 KiB

BIN
docs/guides/getting_started/images/intro-create-bot.png View File

Before After
Width: 763  |  Height: 769  |  Size: 45 KiB Width: 763  |  Height: 769  |  Size: 20 KiB

+ 1
- 1
docs/guides/getting_started/installing.md View File

@@ -40,7 +40,7 @@ Release builds of Discord.Net will be published to the
Development builds of Discord.Net, as well as add-ons, will be
published to our [MyGet feed].

Direct feed link: `https://www.myget.org/F/discord-net/api/v3/index.json`
* Direct feed link: `https://www.myget.org/F/discord-net/api/v3/index.json`

Not sure how to add a direct feed? See how [with Visual Studio] or
[without Visual Studio].


Loading…
Cancel
Save