Scripts for guild notifications using Discord Webhooks
Go to file
Sergio Álvarez b6ef3a0a1c simple rate limit handling 2017-07-22 09:11:00 +02:00
discord-icons First commit 2017-07-10 10:58:51 +02:00
LICENSE Initial commit 2017-07-07 11:59:35 +02:00
README.md difference between conf and tokens 2017-07-20 12:59:13 +02:00
affixes.py First commit 2017-07-10 10:58:51 +02:00
conf.py tokens import 2017-07-20 12:58:17 +02:00
guild.py achievements! 2017-07-20 12:58:54 +02:00
items_legend.json First commit 2017-07-10 10:58:51 +02:00
loot.py First commit 2017-07-10 10:58:51 +02:00
mythics.py format 2017-07-22 09:10:41 +02:00
rss.py First commit 2017-07-10 10:58:51 +02:00
streams.py First commit 2017-07-10 10:58:51 +02:00
tokens.py new file for tokens, instead of conf.py 2017-07-20 13:00:18 +02:00
warcraftlogs.py First commit 2017-07-10 10:58:51 +02:00
webhook.py simple rate limit handling 2017-07-22 09:11:00 +02:00
wowprogress.py no rank changes 2017-07-12 16:06:10 +02: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 edit the tokens.py file, 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