verath / timatch

Discord bot that sends a message as dota league matches are starting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TI-Match

CircleCI

A Discord bot that sends a message to guilds it is connected to when a match in a dota2 league is about to begin.

The name "TI-Match" comes from its primary use, which is to watch the The International (TI for short).

Run the bot via Docker, supplying it a Discord bot token, Steam web API key and the dota 2 league id to watch (see e.g. http://dota2.prizetrac.kr/leagues):

docker build . -t verath/timatch
docker run -d verath/timatch -discordtoken "DISCORD_BOT_TOKEN" -steamkey "STEAM_API_KEY" -leagueid 5401

Add the bot to a guild by visiting the following url, replacing CLIENT_ID with the client id of the discord application. This will grant the bot the SEND_MESSAGES and SEND_TTS_MESSAGES permissions required.

https://discordapp.com/oauth2/authorize?scope=bot&permissions=6144&client_id=CLIENT_ID

About

Discord bot that sends a message as dota league matches are starting


Languages

Language:Go 93.9%Language:Shell 3.8%Language:Dockerfile 2.2%