Skip to content

Discord bot setup

Lucki edited this page Oct 8, 2020 · 11 revisions

(based upon https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)

First you need to go to here and click "New Application" Application Screen Now give your bot a name and a picture, a description isn't necessary. New Application Screen 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. 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}. Server Members Intent Now you can get your bot's token, by using the "click to reveal button" in the app bot user section. New Bot Page Token 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

https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0

Authorize Bot Now select your sever, then click authorize. Authorized That's it! Now you can start your bot and enjoy chatting!

Clone this wiki locally