https://github.com/itzrandom23/lavalink-status
A bot based on discord.js which sends the status of the lavalink node which is used in music bots to play music
https://github.com/itzrandom23/lavalink-status
discordjs js lavalink lavalinkstats lavalinkv4 magmastream
Last synced: 10 months ago
JSON representation
A bot based on discord.js which sends the status of the lavalink node which is used in music bots to play music
- Host: GitHub
- URL: https://github.com/itzrandom23/lavalink-status
- Owner: ItzRandom23
- License: mit
- Created: 2023-09-20T05:28:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T01:02:16.000Z (over 1 year ago)
- Last Synced: 2025-09-20T03:02:32.183Z (10 months ago)
- Topics: discordjs, js, lavalink, lavalinkstats, lavalinkv4, magmastream
- Language: JavaScript
- Homepage:
- Size: 3.97 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

A Discord bot based on `discord.js` that sends the status of the Lavalink node used in music bots to play music.
## Features
- Fetch and display the status of the connected Lavalink node.
- Show useful information like node uptime, players connected, and memory usage.
- Easy to configure and deploy.
## Prerequisites
- Node.js v16 or higher
- npm
- A Discord bot token
- A running Lavalink server
## Installation
1. Clone the repository:
```bash
git clone https://github.com/ItzRandom23/Lavalink-Status.git
cd lavalink-status-bot
```
2. Install dependencies:
```bash
npm install
```
3. Update the `config.js` file with the following code to use environment variables:
```javascript
module.exports = {
token: process.env.DISCORD_TOKEN || "", // Your bot token
channelId: process.env.CHANNEL_ID || "", // Channel Id you want to send the message
nodes: [
{
host: process.env.LAVALINK_HOST || "", // Lavalink IP
password: process.env.LAVALINK_PASSWORD || "", // Lavalink Password
port: process.env.LAVALINK_PORT || 443, // Lavalink Port
retryDelay: 300000,
retryAmount: 25,
identifier: process.env.LAVALINK_IDENTIFIER || "", // Name of your lavalink
secure: false,
},
],
};
```
## Usage
1. Start the bot:
```bash
npm start
```
2. Invite the bot to your Discord server before starting it up.
## Example Output
)