This Discord bot retrieves the player count from a specified DDNet server and updates its activity status accordingly.
- Displays the current number of active players on the DDNet server.
- Automatically updates the activity status every 10 minutes.
- Handles errors gracefully, showing "unknown server" if the status cannot be retrieved.
- Node.js (v16 or higher)
- A Discord bot token
- The IP address and port of your DDNet server
- Clone the repository:
git clone https://github.com/infallibless/discord-ddnet-server-bot.git cd discord-ddnet-server-bot
© 2024 raynex. All rights reserved.
All files in this repository, unless otherwise noted, are released under the MIT License. By using, distributing, or modifying this code, you acknowledge the copyright holder's rights and agree to retain this copyright notice in any redistribution.