This is a Discord bot that allows users to track their Valorant rank and highest rank by entering their username and tag. The bot uses the Henrik-3rd party API to fetch the data.
- Retrieve current rank and highest rank for a given Valorant username and tag.
- Display rank images and elo score.
- Node.js (v20 or later)
- Discord.js (v14 or later)
- Axios
-
Clone the repository:
git clone https://github.com/Abdi-Suufi/Valorant-Tracker-DiscordBot.git cd Valorant-Tracker-DiscordBot
-
Install dependencies:
npm install npm install discord.js npm install axios npm install dotenv
-
Create a
.env
file in the root directory and add your Discord bot token and Henrik-3rd party API key:DISCORD_TOKEN=your-discord-bot-token API_KEY=your-henrikdev-api-key
-
Start the bot:
node index.js
-
Invite the bot to your Discord server.
-
Use the
!rank username#tag
command in your Discord server to fetch your Valorant rank information.
In a Discord channel, type:
!rank Aybd1gh#3759
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Create a pull request.
- Name: Abdi Rahman Suufi
- Email: abdisuufi123@gmail.com
- GitHub: Abdi-Suufi