Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infallibless/discord-ddnet-server-bot
a discord bot that shows ddnet server statistics
https://github.com/infallibless/discord-ddnet-server-bot
ddnet ddnet-server discord discord-js
Last synced: 21 days ago
JSON representation
a discord bot that shows ddnet server statistics
- Host: GitHub
- URL: https://github.com/infallibless/discord-ddnet-server-bot
- Owner: infallibless
- License: mit
- Created: 2024-10-29T14:24:29.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T12:54:40.000Z (3 months ago)
- Last Synced: 2024-11-22T08:51:32.650Z (3 months ago)
- Topics: ddnet, ddnet-server, discord, discord-js
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Discord Server Status Bot
This Discord bot retrieves the player count from a specified DDNet server and updates its activity status accordingly.
![Bot Screenshot](https://cdn.discordapp.com/attachments/1300812751484223521/1300824581942284349/image.png?ex=67223ecc&is=6720ed4c&hm=a1611a545bab79f828d04f2120c8544e3ee2aa43d318a1c9560f365e0ea10ec9&)
## Features
- 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.## Prerequisites
- Node.js (v16 or higher)
- A Discord bot token
- The IP address and port of your DDNet server## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/infallibless/discord-ddnet-server-bot.git
cd discord-ddnet-server-bot## 📜 Copyright
© 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.