2017-07-10 08:58:51 +00:00
# first of all
Take in mind that the first execution of each script will cause a bit of spam on your server.
2017-07-12 14:09:29 +00:00
More info (in spanish) [here ](https://sergio.am/post/discord-webhooks-guild-notifications.html ).
2017-07-10 08:58:51 +00:00
# configuration
2017-08-31 15:24:10 +00:00
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.
2017-07-10 08:58:51 +00:00
To get your Discord Webhook URL go [here ](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks )
To get your Battle.net API Key go [here ](https://dev.battle.net/ )
# 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
2017-07-10 09:05:33 +00:00
0 8 * * 3 timeout 60 /path/affixes.py >> /path/log/affixes.log 2>& 1
```
2017-07-10 08:58:51 +00:00
# credits
2017-07-10 09:05:56 +00:00
- Readme writted with [stackedit ](https://stackedit.io/editor ).
- Coded with [Sublime Text 3 ](https://www.sublimetext.com/3 ).
- Scripts running under [Gigabyte Brix ](https://www.gigabyte.com/Mini-PcBarebone/GB-BXi3-5010-rev-10#ov ) + [Ubuntu ](https://www.ubuntu.com/ ).
- Originally did it for [Vagrant Story ](https://vagrantstory.eu/ ) (EU-Dun Modr) guild.