diff --git a/README.md b/README.md index 63d25a6..87d4709 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ More functions listed below. ## README in development -### Setting up the Discord bot +## Setting up the Discord bot 1) Go to the [Discord developer site](https://discordapp.com/developers/applications) @@ -25,7 +25,26 @@ More functions listed below. ![New Application](https://discordpy.readthedocs.io/en/latest/_images/discord_bot_user_options.png) 8) Copy the token using the “Copy” button. -###### Warning: It should be worth noting that this token is essentially your bot’s password. You should never share this to someone else. In doing so, someone can log in to your bot and do malicious things, such as leaving servers, ban all members inside a server, or pinging everyone maliciously. -###### The possibilities are endless, so do not share this token. +#### Warning: It should be worth noting that this token is essentially your bot’s password. You should never share this to someone else. In doing so, someone can log in to your bot and do malicious things, such as leaving servers, ban all members inside a server, or pinging everyone maliciously. +#### The possibilities are endless, so do not share this token. -###### If you accidentally leaked your token, click the “Regenerate” button as soon as possible. This revokes your old token and re-generates a new one. Now you need to use the new token to login. \ No newline at end of file +#### If you accidentally leaked your token, click the “Regenerate” button as soon as possible. This revokes your old token and re-generates a new one. Now you need to use the new token to login. + +## Inviting your bot + +1) Following from the previous steps, go to the OAuth2 tab
+![New Application](https://discordpy.readthedocs.io/en/latest/_images/discord_oauth2.png) + +2) Tick the “bot” checkbox under “scopes”.
+![New Application](https://discordpy.readthedocs.io/en/latest/_images/discord_oauth2_scope.png) + +3) Set the permissions required for the bot. For this Minecraft bot we only need the following permissions:
+1. Send Messages +1. Manage Messages +1. Embed Links +1. Attach Files +1. Read Message History +You can set as many permissions as you'd like which may be needed if you want to add your own code to this bot.
+![New Application](https://discordpy.readthedocs.io/en/latest/_images/discord_oauth2_perms.png) + +4) Now the resulting URL can be used to add your bot to a server. Copy and paste the URL into your browser, choose a server to invite the bot to, and click “Authorize”. \ No newline at end of file