Skip to content

Commit

Permalink
Compress some assets & add OAuth2 URL generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Still Hsu committed May 3, 2018
1 parent 02570a4 commit 6769c37
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions docs/guides/getting_started/first-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Binary file modified docs/guides/getting_started/images/install-vs-nuget.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 not shown.
Binary file modified docs/guides/getting_started/images/intro-create-app.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 docs/guides/getting_started/images/intro-create-bot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/guides/getting_started/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 6769c37

Please sign in to comment.