Skip to main content
Version: dev

Installation on Replit

Prerequisites

Create a Discord Application

  • go to the Discord Developer portal
  • create a new application + bot
  • create a bot invite link using it's client id here
  • save the bot token for later
  • Set the Privileged gateway intent to allow MESSAGE CONTENT INTENT
discord_invite_permissions imagediscord_gateway_intents image

Installation

Clone repository

Click this link to import the repository.

Install the dependencies

Use this command to install all dependencies:

npm ci

Configure node

Edit the nodelist.json file to add a Lavalink node.

note

This bot only supports Lavalink v4 nodes.
v4.0.8 or higher is recommended.

You can refer to this document for detailed information.

[
{
"id": "Node 1",
"hostname": "localhost",
"port": 2333,
"password": "youshallnotpass"
}
]

Configure environment variables

Open the "Secrets" in the "Tools" section to edit the BOT_TOKEN.

secrets image

Edit config.js to configure other parameters of the bot.

Start the Bot

Click the Run button
or run the npm run start command in the shell.