This Discord bot tracks and ranks the top players based on their kill counts in one hll game round for the whole day. It fetches player data from the HLL CRCON API and posts the top 20 players to a specified Discord channel.
- Fetches detailed player data from HLL CRCON API.
- Summarizes the top 20 players based on their kill counts.
- Sends updates to a designated Discord channel.
- Automatically updates discord every 15 seconds.
- NOTE: currently only for v9 available
- Node.js (v16 or newer)
- npm (Node Package Manager)
- A Discord bot token
- HLL CRCON API credentials for fetching player data
-
Clone the repository:
git clone https://github.com/s1lence-aut/hll-top-killer-of-the-day.git cd hll-top-killer-of-the-day
-
Generate a .env File EXAMPLE:
DISCORD_TOKEN=your_discord_bot_token DISCORD_CHANNEL_ID=your_discord_channel_id RCON_API_BASE_URL=your_api_base_url RCON_API_TOKEN=your_api_token
This project uses ES Modules and is structured with the .mjs
file extension.