Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.