Getting Started
Prerequisites

Getting Started

This section covers the prerequisites and initial setup for running Meww.me.

Prerequisites

Before starting, ensure you have:

RequirementMinimum VersionNotes
Node.js16.x+v18 or v20 LTS recommended
npm8.x+Comes with Node.js
Java17+Required for Lavalink

Step 1 - Prepare the Project

Extract the source code you received to a directory of your choice, then navigate into it:

cd mewwme

Step 2 - Install Backend Dependencies

cd backend
npm install

Step 3 - Configure the Bot

Copy the template configuration:

cp config.example.yml config.yml

Edit config.yml and set at minimum:

bot:
  TOKEN: ${TOKEN}
  OWNER_ID: "your_discord_user_id"
  ADMIN: ["your_discord_user_id"]
 
lavalink:
  NODES:
    - host: "localhost"
      port: 2333
      name: "Main"
      auth: "youshallnotpass"
      secure: false
      driver: "lavalink/v4"

Step 4 - Create .env File

Create a .env file in the backend/ directory:

TOKEN=your_discord_bot_token_here

Get your bot token from the Discord Developer Portal (opens in a new tab) → your application → Bot → Reset Token.

Step 5 - Build and Start

npm run build
npm start

The bot will log in and register slash commands. Global commands may take up to 1 hour to appear in Discord.

Step 6 - Start Lavalink

Download Lavalink (opens in a new tab) and the reference application.yml from additional-file/application.yml.

java -jar Lavalink.jar

Ensure the password in Lavalink's application.yml matches the auth in your config.yml.

Next Steps