mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-28 15:09:26 +01:00
Updated all screenshots, made sure member intent toggle was also added
parent
4f90202eef
commit
41ce3f3f56
@ -1,22 +1,43 @@
|
|||||||
(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)
|
||||||
|
|
||||||
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](http://i.imgur.com/FvgfY2Z.png)
|
|
||||||
Now give your bot a name and a picture, a description isn't necessary.
|
![Application Screen](https://i.imgur.com/6WrvbNe.png)
|
||||||
![New Application Screen](http://i.imgur.com/MOS7yvH.png)
|
Now give your bot a name.
|
||||||
Click "Create Application". On the next page scroll down until you see "Create a bot user", click that. Also click yes do it.
|
|
||||||
![Screen you see after creating a new application then scrolling down a little.](http://i.imgur.com/YAzK5ml.png)
|
![Create an Application Screen](https://i.imgur.com/PQCa8Kl.png)
|
||||||
![Yes Do It.](http://i.imgur.com/vkF6Rxo.png)
|
|
||||||
Make sure you're allowing 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 "Create". On the next screen you can set a Avatar Icon for your app and description (not necessary).
|
||||||
![Server Members Intent](https://i.imgur.com/sBVVIAL.png)
|
This is also where you will find your Client ID, more on that later.
|
||||||
Now you can get your bot's token, by using the "click to reveal button" in the app bot user section.
|
![New App Screen](https://i.imgur.com/t3efwt3.png)
|
||||||
![New Bot Page](http://i.imgur.com/xhKMUVU.png)
|
|
||||||
![Token](http://i.imgur.com/QwCmJJM.png)
|
Next, click on Bot on the left hand menu, then click "Add Bot"
|
||||||
There's your token! Now its time to invite your bot to your server. Don't worry about your bot being started for this next step. Change the client_id to your Client ID under App Details, then go to this url
|
![Add Bot](https://i.imgur.com/S00aLUf.png)
|
||||||
|
|
||||||
|
Click "Yes Do It"
|
||||||
|
|
||||||
|
![Yes Do It.](https://i.imgur.com/909uU4S.png)
|
||||||
|
|
||||||
|
On the Bot screen you will get to see your token, you can click "Copy" to put it in your clipboard or "Click to reveal your Token", put this in your config file.
|
||||||
|
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)
|
||||||
|
|
||||||
|
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"
|
||||||
|
![Server Members Intent](https://i.imgur.com/FIHvhNt.png)
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
Change the client_id to your Client ID under App Details, then go to this url
|
||||||
|
|
||||||
```https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0```
|
```https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0```
|
||||||
|
|
||||||
![Authorize Bot](http://i.imgur.com/Ggwy0BP.png)
|
|
||||||
Now select your sever, then click authorize.
|
Now select your sever, then click authorize.
|
||||||
![Authorized](http://i.imgur.com/4cqNcs1.png)
|
|
||||||
|
![Authorize Bot](https://i.imgur.com/d2pcKIY.png)
|
||||||
|
|
||||||
|
![Authorized](https://i.imgur.com/dae0LKN.png)
|
||||||
|
|
||||||
That's it! Now you can start your bot and enjoy chatting!
|
That's it! Now you can start your bot and enjoy chatting!
|
Loading…
Reference in New Issue
Block a user