Decaded / Wampierz

A Discord bot for monitoring and displaying server status updates, featuring automated data fetching, status messages, and real-time updates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wampierz Discord Bot

License: MIT Version Node.js Version

Wampierz is a Discord bot designed to fetch and display SteamID information for V Rising servers using the CeloAPI. This bot allows server administrators to set the update channel, update interval, and API URL via Discord commands.

Features

  • Set Update Channel: Administrators can specify a channel where server update notifications will be posted.
  • Set Update Interval: Configurable update interval to fetch server data from the API.
  • Set API URL: Allows setting the URL for the API to fetch server data.
  • Restart Command: Supports restarting the bot (requires appropriate permissions).

Commands

  • /setchannel: Set the update channel for server notifications.
  • /setinterval: Set the update interval in seconds (minimum 10 seconds).
  • /setapiurl: Set the API URL for fetching server data.
  • /setrole: Set role that will have permission to use this commands.
  • /restart: Restart the bot.

Prerequisites

  • Node.js >= 14.0.0
  • Discord Bot Token
  • Discord Server ID
  • Role with appropriate permissions (e.g., 'Wampyr' role)

Installation

  1. Clone the repository:
git clone https://github.com/Decaded/wampierz.git
  1. Install dependencies:
npm install
  1. Configure environment variables:

Create a .env file in the root directory with the following variables:

BOT_TOKEN=your_discord_bot_token_here
GUILD_ID=your_discord_server_id_here
CLIENT_ID=your_discord_bot_client_id_here
  1. Start the bot:
npm start

Configuration

The bot uses .env file for configuration. Ensure you have set the following variables:

BOT_TOKEN: Your Discord bot token. GUILD_ID: Your Discord server ID. CLIENT_ID: Your Discord bot client ID.

Contributing

Contributions are welcome! If you have suggestions or found a bug, please open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A Discord bot for monitoring and displaying server status updates, featuring automated data fetching, status messages, and real-time updates.

License:MIT License


Languages

Language:JavaScript 100.0%