Skip to content

Tracks the "eco kills" gotten by a player in their most recent Valorant match and adds it to a locally stored lifetime leaderboard.

License

Notifications You must be signed in to change notification settings

dakotaPPP/ecotracker-bot

Repository files navigation

Eco Kill Tracker Bot

Overview

This Discord bot is designed to track "eco kills" for specified players in an online game. It interacts with Riot Games' API to retrieve in-game statistics, coding in Python and utilizing SQLite for database operations. The bot logs recent game data in JSON format, providing a comprehensive tracking mechanism.

Features

  • Unofficial Valorant API Integration: Makes requests to the Unofficial Valorant API to gather detailed information about players' in-game stats.
  • Python and SQLite: Coded in Python, the bot utilizes SQLite for seamless interaction with its database.
  • Game Logging: Logs recent game information in JSON format, ensuring a comprehensive record of player performance.
  • Collaborative Development: Developed in collaboration with a Rice University student and a fellow Texas A&M University student.

Getting Started

To get the bot up and running:

  1. Clone the repository:

    git clone https://github.com/your-username/eco-kill-tracker-bot.git
  2. Navigate to the project directory:

    cd eco-kill-tracker-bot
  3. Install project dependencies using Poetry:

    poetry install
  4. Open the main.py file and replace the line bot.run(os.getenv("TOKEN")) with your bot's actual token.

  5. If you don't want our preset users in the user_data.db, feel free to delete them.

  6. Run the bot:

    poetry run python main.py

Contributors

  • Dakota Pound - requesta.py, main.py, and SQLite database (table_formatting.py)
  • Johnnie Chen - requesta.py, main.py, and discord bot initalization
  • Mac Tucker - request.py, main.py, and image manipulation and creation

License

This project is licensed under the MIT License.

Acknowledgments

Special thanks to the contributors of the Unofficial Valorant API for providing valuable data and to the community for contributing to the development of this bot.


About

Tracks the "eco kills" gotten by a player in their most recent Valorant match and adds it to a locally stored lifetime leaderboard.

Resources

License

Stars

Watchers

Forks

Languages