Small readme for the discord bot. tf2compbot (or, tf_lecterbot)
Made by: Lecter, tf_lecter (steam, youtube) or twitch.tv/DrLector
This is a Discord bot written in Python.
Goal of the bot is to use both the steam and etf2l APIs to easily check the division of a user. Developed recreatively with the potential goal of being used by the Fortress Faceoffs Tournament Org.
(ETF2L is the european competetive tf2 league. RGL is the NA equivalent.)
Some of the sources used:
https://api-v2.etf2l.org/ //etf2l API v.2
https://www.ionos.com/digitalguide/server/know-how/creating-discord-bot/ //python & discord bot tutorials https://realpython.com/how-to-make-a-discord-bot-python https://discordpy.readthedocs.io/en/stable/ext/commands/commands.html https://guide.pycord.dev/popular-topics/error-handling
https://steamcommunity.com/dev //resources regarding steamapi https://developer.valvesoftware.com/wiki/Steam_Web_API //for transforming steam url to steamid https://github.com/ValvePython/steam/blob/master/steam/steamid.py https://pypi.org/project/python-steam-api/
pip install python-steam-api pip install beautifulsoup4 pip install -U discord.py
Todo: Convert vanity urls? ETF2L API support RGL API support