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.
- 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).
/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.
- Node.js >= 14.0.0
- Discord Bot Token
- Discord Server ID
- Role with appropriate permissions (e.g., 'Wampyr' role)
- Clone the repository:
git clone https://github.com/Decaded/wampierz.git
- Install dependencies:
npm install
- 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
- Start the bot:
npm start
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.
Contributions are welcome! If you have suggestions or found a bug, please open an issue.
This project is licensed under the MIT License. See the LICENSE file for details.