Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
discord [2018/10/29 03:08]
armchairguru
discord [2018/10/29 03:09] (current)
armchairguru
Line 55: Line 55:
 \\ \\
  
-7. Save this bot token as it is the token needed for the discord_bot_token setting in the settings.properties file for PTNotifications;​ and optionally, if not using notifications,​ it is also for the [[application.properties#​discord.bot_token_1]] setting in the ProfitTrailer application.properties file.\\+10. Save this bot token as it is the token needed for the discord_bot_token setting in the settings.properties file for PTNotifications;​ and optionally, if not using notifications,​ it is also for the [[application.properties#​discord.bot_token_1]] setting in the ProfitTrailer application.properties file.\\
 \\ \\
  
-8. Visit this link to invite your bot to your discord server.\\+11. Visit this link to invite your bot to your discord server.\\
 [[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]]\\
 \\ \\
Line 70: Line 70:
 \\ \\
  
-9. After adding your Client ID to the link and following it, you should see a screen with a similar image to the below.\\+12. After adding your Client ID to the link and following it, you should see a screen with a similar image to the below.\\
 {{:​discord_invite_bot.png|}} {{:​discord_invite_bot.png|}}
 \\ \\
  
-10. Now select your server in the dropdown, then click "​Authorize"​.\\+13. Now select your server in the dropdown, then click "​Authorize"​.\\
 \\ \\
  
-11. Once your bot is invited to your discord server, you will need to enter the appropriate information into the settings.properties file for PTNotifications.\\+14. Once your bot is invited to your discord server, you will need to enter the appropriate information into the settings.properties file for PTNotifications.\\
   * discord_bot_token = this is the bot token mentioned above in steps 6 and 7.   * discord_bot_token = this is the bot token mentioned above in steps 6 and 7.
   * discord_channel_id = this is the numeric channel id for the discord channel in which your bot will send messages.   * discord_channel_id = this is the numeric channel id for the discord channel in which your bot will send messages.
 \\ \\
  
-12. To find the numeric channel id for your channel, enable developer mode on discord by clicking the settings cog beside your username at the lower left hand side of the discord app.\\+15. To find the numeric channel id for your channel, enable developer mode on discord by clicking the settings cog beside your username at the lower left hand side of the discord app.\\
 {{:​discord_dev_1.png|}} {{:​discord_dev_1.png|}}
 \\ \\
  
-13. Click on '​Appearance'​ and find developer mode and switch it on.\\+16. Click on '​Appearance'​ and find developer mode and switch it on.\\
 {{:​discord_dev_2.png|}} {{:​discord_dev_2.png|}}
 \\ \\
  
-14. Right click the channel name and click on 'Copy ID'.\\+17. Right click the channel name and click on 'Copy ID'.\\
 {{:​discord_channel_id.png|}} {{:​discord_channel_id.png|}}
 \\ \\
  • discord.txt
  • Last modified: 4 months ago
  • by armchairguru