Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

NY0510/NM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is deprecated. Use new version.

NM, Lavalink Discord Music Bot

Screenshot

Installation Guide

Requirements

Setup

  1. Clone the repository
git clone https://github.com/NY0510/NM.git
  1. Install dependencies
npm install

Configuration

Create a file named .env in the root directory of the project with the contents below.

BOT_TOKEN="Discord Bot Token"
BOT_CLIENT_ID="Discord Bot Client ID"
BOT_PREFIX="Discord Bot Prefix"
BOT_PRESENCE_STATUS="Discord Bot Presence Status (online, idle, dnd, invisible)"
BOT_PRESENCE_NAME="Discord Bot Presence Name"

JOIN_LOG_CHANNEL_ID="Server Join / Left Log Channel ID"
MUSIC_LOG_CHANNEL_ID="Music Log Channel ID"

EMOJI_X=""
EMOJI_CHECK=""
EMOJI_WARNING='⚠️'

COLOR_NORMAL="0xb2d1bd"
COLOR_NORMAL2="0x212326"
COLOR_ERROR="0xff3333"

PATH_COMMANDS="commands"
PATH_EVENTS="events"

LAVALINK_HOST="Lavalink Host"
LAVALINK_PORT="Lavalink Port"
LAVALINK_PASSWORD="Lavalink Password"

Running

  1. Run Lavalink.jar
java -jar Lavalink.jar
  1. Run the bot
npm start