Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasLamba2006 committed Jul 4, 2023
1 parent b36ba18 commit 966cc62
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
25 changes: 25 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Lavalink server and status Bot

## About
This is a NodeJS Application which allows you to run a Lavalink server and a Discord Bot which shows the status of the server.

## Installation
1. Clone this repository
```bash
git clone https://github.com/TejasLamba2006/lavalink-server
```
2. Fill [`config,js`](https://github.com/TejasLamba2006/lavalink-server/blob/main/config.js)
3. Run the script
- It will automatically install all dependencies and start the server
```bash
npm run start
```

## Credits
- [TejasLamba2006](https://github.com/TejasLamba2006) - Main Developer

## License
This project is licensed under the [Apache License 2.0](https://github.com/TejasLamba2006/lavalink-server/blob/main/LICENSE)

## Support
https://discord.gg/e3CkRXy7HD
9 changes: 5 additions & 4 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
module.exports = {
discord_bot: {
enabled: false,
token: process.env.TOKEN || "",
enabled: true,
token: process.env.TOKEN || "MTEwOTA2NTQ0MjMwNTI1MzM4Ng.GzzREV.uVeaExURyr9K93iQlTpPyXyqNLZKL6VoJ0GAlE",
prefix: process.env.PREFIX || "!",
activity: {
name: process.env.ACTIVITY_NAME || "Lavalinks",
type: process.env.ACTIVITY_TYPE || "Watching",
},
channelId: process.env.CHANNEL_ID || "",
channelId: process.env.CHANNEL_ID || "1111682190573588551",
refreshInterval: process.env.REFRESH_INTERVAL || 30000,
},
lavalink: {
enabled: false,
nodes: [{
host: process.env.LAVALINK_HOST || "",
host: process.env.LAVALINK_HOST || "lavalink-server.bbbbbbbbb-aaaaaaaaa.repl.co",
port: process.env.LAVALINK_PORT || 443,
password: process.env.LAVALINK_PASSWORD || "visa2code",
secure: process.env.LAVALINK_SECURE || true
Expand Down

0 comments on commit 966cc62

Please sign in to comment.