Skip to content

Abdi-Suufi/Valorant-Tracker-DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valorant Tracker Discord Bot

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.

Features

  • Retrieve current rank and highest rank for a given Valorant username and tag.
  • Display rank images and elo score.

Requirements

  • Node.js (v20 or later)
  • Discord.js (v14 or later)
  • Axios

Installation

  1. Clone the repository:

    git clone https://github.com/Abdi-Suufi/Valorant-Tracker-DiscordBot.git
    cd Valorant-Tracker-DiscordBot
  2. Install dependencies:

    npm install
    npm install discord.js
    npm install axios
    npm install dotenv
  3. 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

Usage

  1. Start the bot:

    node index.js
  2. Invite the bot to your Discord server.

  3. Use the !rank username#tag command in your Discord server to fetch your Valorant rank information.

Example

In a Discord channel, type:

!rank Aybd1gh#3759

image

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Create a pull request.

Contact