1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-25 11:50:11 +00:00

Update images to include "Create instant invite" perm, fix order

Harvey Tindall 2021-05-23 20:49:50 +01:00
parent b1237ee219
commit 098954375e

@ -5,35 +5,35 @@ To do this, you'll need to create a Discord bot.
### 1: Create an application
Visit [discord.com/developers](https://discord.com/developers) and log in. Press the "New Application" Button, enter a name, and press "Create".
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/1.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/1.jpg" width="50%">
### 2: Go to the Bot tab
You can leave the settings on this page alone. Open the side menu (if necessary), and open the "Bot" tab.
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/2.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/2.jpg" width="50%">
### 3: Create the Bot
Press the "Add Bot" button, and "Yes, do it!" to create the bot.
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/3.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/3.jpg" width="50%">
### 4: Enable privileged permissions
jfa-go needs the privileged intent "Server Members" to present a list of users when you try to bind an existing Jellyfin account to a Discord one. Scroll down on the bot summary page to the "Privileged Gateway Intents" section, enable the "Server Members Intent", then press "Save Changes" when it pops up.
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/4.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/4.jpg" width="50%">
### 5: Switch to the OAuth2 Tab
Open the side menu (if necessary), and open the "OAuth2" tab.
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/5.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/5.jpg" width="50%">
### 6: Enable permissions, get Invite link
Scroll down the page to the "Scopes" section, and check all the checkboxes shown below. Once done, press the "Copy" button to copy the link. **Visit the link to add the bot to your desired Discord server.**
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/6.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/6.jpg" width="50%">
### 7: Copy the token
Switch back to the "Bot" tab, and press the "Copy" button to copy the bot token. In jfa-go, go to Settings > Telegram, enable it, and paste the token into the "API Token" box. Save and restart.
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/7.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/discord/images/discord/8.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/7.jpg" width="50%">
<img src="https://github.com/hrfee/jfa-go/blob/main/images/discord/8.jpg" width="50%">