discord-guild-notifications/README.md

37 lines
1.3 KiB
Markdown
Raw Normal View History

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.
# configuration
You should edit the `conf.py` file.
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
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/).
2017-07-10 09:05:33 +00:00
Originally did it for [Vagrant Story](https://vagrantstory.eu/) (EU-Dun Modr) guild.