mirror of
https://github.com/42wim/matterbridge.git
synced 2025-04-20 14:47:55 +02: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)
|
||||
|
||||
First you need to go to [here](https://discordapp.com/developers/applications/me) and click "New Application"
|
||||

|
||||
Now give your bot a name and a picture, a description isn't necessary.
|
||||

|
||||
Click "Create Application". On the next page scroll down until you see "Create a bot user", click that. Also click yes do it.
|
||||

|
||||

|
||||
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}`.
|
||||

|
||||
Now you can get your bot's token, by using the "click to reveal button" in the app bot user section.
|
||||

|
||||

|
||||
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
|
||||
|
||||

|
||||
Now give your bot a name.
|
||||
|
||||

|
||||
|
||||
Click "Create". On the next screen you can set a Avatar Icon for your app and description (not necessary).
|
||||
This is also where you will find your Client ID, more on that later.
|
||||

|
||||
|
||||
Next, click on Bot on the left hand menu, then click "Add Bot"
|
||||

|
||||
|
||||
Click "Yes Do It"
|
||||
|
||||

|
||||
|
||||
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).
|
||||

|
||||
|
||||
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"
|
||||

|
||||
|
||||
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
|
||||

|
||||
|
||||
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```
|
||||
|
||||

|
||||
Now select your sever, then click authorize.
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
That's it! Now you can start your bot and enjoy chatting!
|
Loading…
x
Reference in New Issue
Block a user