Developed during Hackwest 2023, a 24-hour hackathon competition, the Valorant Discord Bot is a dynamic tool designed to enhance the gaming experience for Valorant players. Valorant is a popular 5v5 FPS game with over 18 million players, featuring unique agents and maps. This bot offers real-time game tracking and tips, supporting players with automated functionalities directly on Discord.
The Valorant Discord Bot provides various commands to assist Valorant players in improving their gameplay. Whether you're looking to randomly select an agent, choose a gameplay strategy, or get tips on maps and shooting, this bot has you covered. Developed with Python and Flask, and deployed on Google Cloud Platform (GCP), the bot integrates seamlessly with Discord to provide instant, in-game assistance.
- Agent: Randomly selects an agent for the player, helping to increase versatility and improve gameplay.
- Strat roulette: Chooses a random gameplay strategy for the team, adding an extra challenge to the game.
- Maptips: Provides strategies and tips for the selected map, improving the player's understanding and increasing their chances of winning.
- Agent tips: Offers insights and strategies for playing as a selected agent, helping players master their chosen character.
- Shooting tips: Delivers shooting tips based on the player's competitive rank, aiding in improving aim and accuracy.
- Python: Core programming language used for bot development.
- Flask: Web framework used to create the backend server.
- Google Cloud Platform (GCP): Deployed the backend for global access.
- PyMySQL: Used to interact with the SQL database containing information on agents, maps, and strategies.
- PyNaCl: Provides cryptographic support for secure communication between Discord and the bot.
- Clone the repository:
git clone https://github.com/your-repo/valorant-discord-bot.git
- Install the required dependencies:
pip install -r requirements.txt
- Set up the environment variables for Flask and Discord, including your Discord bot token and public key.
- Run the Flask app:
python main.py
- Invite the bot to your Discord server.
- Use the following commands to interact with the bot:
/agent
: Selects a random agent./stratroulette
: Chooses a random strategy for the team./maptips
: Provides tips for the selected map./agent_tips
: Offers tips for a selected agent./shootingtips
: Gives shooting tips based on your rank.
This project was collaboratively developed by:
- Dhruv Maniar
- Isha Koregave
- Suchit Pinreddy
- Vedant Supnekar
Developing the Valorant Discord Bot allowed us to gain valuable experience in:
- Real-Time Game Integration: Implemented real-time interaction between Discord and the game, using Python and Flask, enhancing our skills in building dynamic, event-driven applications.
- Cloud Deployment: Strengthened our understanding of deploying scalable applications on cloud platforms, ensuring smooth performance and availability.
- API Integration: Gained expertise in integrating third-party APIs to enhance user functionality, creating a seamless, interactive experience for players.
- Scalable Bot Development: Learned best practices for building scalable, maintainable Discord bots, including handling multiple simultaneous requests and user interactions.
This project deepened our understanding of real-time systems and scalable cloud-based application development.