Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notification_setup [2018/06/07 01:42]
sgtbatten [Discord]
notification_setup [2019/06/20 15:28] (current)
armchairguru
Line 13: Line 13:
  
 3. Create a discord bot. See our guide [[Discord#​Create a Discord Bot|HERE!]]\\ 3. Create a discord bot. See our guide [[Discord#​Create a Discord Bot|HERE!]]\\
-There is also another guide [[https://​github.com/​reactiflux/​discord-irc/​wiki/​Creating-a-discord-bot-&​-getting-a-token|Here.]] 
  
 4. Add the bot to your server 4. Add the bot to your server
Line 24: Line 23:
  
 6. Configure the remaining [[application.properties#​discord|Discord settings]] in application.properties. 6. Configure the remaining [[application.properties#​discord|Discord settings]] in application.properties.
 +
 +7. Restart ProfitTrailer and go to http://​localhost:​8081/​settings/​discordTestMessage to test your discord setup. You will receive a message ​if the setup is correct.
  
 **Notes**: ​ **Notes**: ​
   - depending on the roles and permissions on your server you need to ensure the bot has the appropriate privileges to pair in the channel.   - depending on the roles and permissions on your server you need to ensure the bot has the appropriate privileges to pair in the channel.
-  - You will not receive any messages when in testmode.+  - In bot versions 2.1.x or below, ​You will not receive any messages when in test mode. Bot versions 2.2.0+ allow test mode messages.
   - a password is required to use notifications.   - a password is required to use notifications.
  
Line 52: Line 53:
 </​file>​ </​file>​
  
-5. Go to http://​localhost:​8081/​settings/​telegramTestMessage to test your telegram setup. You will receive a message ​if the setup is correct.+5. Restart ProfitTrailer and go to http://​localhost:​8081/​settings/​telegramTestMessage to test your telegram setup. You will receive a message ​if the setup is correct.
  
 6. Configure the remaining [[application.properties#​telegram|Telegram settings]] in application.properties. 6. Configure the remaining [[application.properties#​telegram|Telegram settings]] in application.properties.
Line 59: Line 60:
 **NOTES**: ​ **NOTES**: ​
   - a password is required to use notifications.   - a password is required to use notifications.
-  - You will not receive any messages when in testmode.+  - In bot versions 2.1.x or below, ​You will not receive any messages when in test mode. Bot versions 2.2.0+ allow test mode messages.
   - For **group chats** invite [[https://​​telegram.me/​​myidbot|https://​​telegram.me/​​myidbot]] to the existing group and type /​getgroupid@myidbot (include the '​-'​ symbol when adding it to your application.properties file \\   - For **group chats** invite [[https://​​telegram.me/​​myidbot|https://​​telegram.me/​​myidbot]] to the existing group and type /​getgroupid@myidbot (include the '​-'​ symbol when adding it to your application.properties file \\
   - Remember to click "​Start"​ at the bottom of the page when you start a new chat.   - Remember to click "​Start"​ at the bottom of the page when you start a new chat.
- 
-~~DISCUSSION~~ 
  • notification_setup.1528335763.txt.gz
  • Last modified: 14 months ago
  • by sgtbatten