mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 05:29:40 +01:00
Updated Discord bot setup (markdown)
parent
44e81c2b9e
commit
d261667e6e
@ -1,5 +1,7 @@
|
|||||||
(based upon https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)
|
(based upon https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)
|
||||||
|
|
||||||
|
## New application
|
||||||
|
|
||||||
First you need to go to [here](https://discordapp.com/developers/applications/me) and click "New Application"
|
First you need to go to [here](https://discordapp.com/developers/applications/me) and click "New Application"
|
||||||
|
|
||||||
![Application Screen](https://i.imgur.com/6WrvbNe.png)
|
![Application Screen](https://i.imgur.com/6WrvbNe.png)
|
||||||
@ -22,11 +24,15 @@ On the Bot screen you will get to see your token, you can click "Copy" to put it
|
|||||||
On this Same Screen you can toggle if the bot is public (which will allow others to invite to their servers, this is on by default).
|
On this Same Screen you can toggle if the bot is public (which will allow others to invite to their servers, this is on by default).
|
||||||
![Bot Screen 1](https://i.imgur.com/sibnz9u.png)
|
![Bot Screen 1](https://i.imgur.com/sibnz9u.png)
|
||||||
|
|
||||||
|
## Privileged Gateway Intents
|
||||||
|
|
||||||
Make sure to also toggle the "Server Members Intent" option further down under "Privileged Gateway Intents" to allow the bot to see the member list, otherwise you'll get an error message similar to `Error obtaining server members: HTTP 403 Forbidden, {"message": "Missing Access", "code": 50001}`.
|
Make sure to also toggle the "Server Members Intent" option further down under "Privileged Gateway Intents" to allow the bot to see the member list, otherwise you'll get an error message similar to `Error obtaining server members: HTTP 403 Forbidden, {"message": "Missing Access", "code": 50001}`.
|
||||||
|
|
||||||
Click "Save Changes"
|
Click "Save Changes"
|
||||||
![Server Members Intent](https://i.imgur.com/FIHvhNt.png)
|
![Server Members Intent](https://i.imgur.com/FIHvhNt.png)
|
||||||
|
|
||||||
|
## Invite bot
|
||||||
|
|
||||||
Now its time to invite your bot to your server. Don't worry about your bot being started for this next step. You can get this under General Information
|
Now its time to invite your bot to your server. Don't worry about your bot being started for this next step. You can get this under General Information
|
||||||
![Client ID](https://i.imgur.com/xS2IveF.png)
|
![Client ID](https://i.imgur.com/xS2IveF.png)
|
||||||
|
|
||||||
@ -48,6 +54,8 @@ Then you should see
|
|||||||
|
|
||||||
You can confirm the bot is added under Your Guild > Settings > Integrations > Bots and Apps, and in your #general channel you should see "A wild [bot name] appeared!".
|
You can confirm the bot is added under Your Guild > Settings > Integrations > Bots and Apps, and in your #general channel you should see "A wild [bot name] appeared!".
|
||||||
|
|
||||||
|
## Take token
|
||||||
|
|
||||||
Take the bot's token (the _token_, not the client ID) and add it to your matterbridge config like so:
|
Take the bot's token (the _token_, not the client ID) and add it to your matterbridge config like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user