Scripts for guild notifications using Discord Webhooks
Go to file
Sergio Álvarez b6f077aab8 affixes rotation updated, for now 2018-01-10 09:19:20 +01:00
discord-icons First commit 2017-07-10 10:58:51 +02:00
.gitignore gitignore, legends, triumvirate and strings 2017-12-12 13:54:43 +01:00
LICENSE Initial commit 2017-07-07 11:59:35 +02:00
README.md new tokens-sample.py indication 2017-08-31 17:24:10 +02:00
affixes.py lint, not full 2017-12-13 12:37:31 +01:00
conf.py affixes rotation updated, for now 2018-01-10 09:19:20 +01:00
guild.py lint, not full 2017-12-13 12:37:31 +01:00
items_legend.json gitignore, legends, triumvirate and strings 2017-12-12 13:54:43 +01:00
loot.py lint, not full 2017-12-13 12:37:31 +01:00
mythics.py lint, not full 2017-12-13 12:37:31 +01:00
raiderio.py streams details and permissions 2017-12-14 12:27:52 +01:00
rss.py lint, not full 2017-12-13 12:37:31 +01:00
streams.py streams details and permissions 2017-12-14 12:27:52 +01:00
tokens-sample.py new guild, new fixes. Now is more generic. 2017-08-31 17:21:23 +02:00
warcraftlogs.py lint, not full 2017-12-13 12:37:31 +01:00
webhook.py lint, not full 2017-12-13 12:37:31 +01:00
wowprogress.py lint, not full 2017-12-13 12:37:31 +01:00

README.md

first of all

Take in mind that the first execution of each script will cause a bit of spam on your server.

More info (in spanish) here.

configuration

You should rename and edit the tokens-sample.py file to tokens.py, and you can edit the conf.py file. tokens file contains tokens (ofc) and api keys for services. conf file contains a mix of icons and strings.

To get your Discord Webhook URL go here

To get your Battle.net API Key go here

dependencies

  • python3
  • redis-server
  • redis-py

crontab

*/15 * * * * timeout 890 /path/mythics.py >> /path/log/mythics.log 2>&1
*/30 * * * * timeout 1790 /path/loot.py >> /path/log/loot.log 2>&1
* * * * * timeout 58 /path/rss.py >> /path/log/rss.log 2>&1
* * * * * timeout 58 /path/streams.py >> /path/log/streams.log 2>&1
* * * * * timeout 58 /path/warcraftlogs.py >> /path/cron/log/warcraftlogs.log 2>&1
0 9 * * 3 timeout 60 /path/wowprogress.py >> /path/cron/log/wowprogress.log 2>&1
0 8 * * 3 timeout 60 /path/affixes.py >> /path/log/affixes.log 2>&1

credits