Scripts for guild notifications using Discord Webhooks

Sergio Álvarez df7fcb4236 raider.io api for m+ rotation 1 year ago
discord-icons 3cc47ae3cb First commit 2 years ago
.gitignore d17615ab43 gitignore, legends, triumvirate and strings 1 year ago
LICENSE 538bc3e17e Initial commit 2 years ago
README.md c2a16bd208 new tokens-sample.py indication 2 years ago
affixes.py df7fcb4236 raider.io api for m+ rotation 1 year ago
conf.py b6f077aab8 affixes rotation updated, for now 1 year ago
guild.py c48c57f7f0 lint, not full 1 year ago
items_legend.json d17615ab43 gitignore, legends, triumvirate and strings 1 year ago
loot.py c48c57f7f0 lint, not full 1 year ago
mythics.py c48c57f7f0 lint, not full 1 year ago
raiderio.py 989efdf5ae streams details and permissions 1 year ago
rss.py c48c57f7f0 lint, not full 1 year ago
streams.py 989efdf5ae streams details and permissions 1 year ago
tokens-sample.py f3f31ed8ca new guild, new fixes. Now is more generic. 2 years ago
warcraftlogs.py c48c57f7f0 lint, not full 1 year ago
webhook.py c48c57f7f0 lint, not full 1 year ago
wowprogress.py c48c57f7f0 lint, not full 1 year ago

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/guild.py >> /path/log/guild.log 2>&1 */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