Getting Started
This section covers the prerequisites and initial setup for running Meww.me.
Prerequisites
Before starting, ensure you have:
| Requirement | Minimum Version | Notes |
|---|---|---|
| Node.js | 16.x+ | v18 or v20 LTS recommended |
| npm | 8.x+ | Comes with Node.js |
| Java | 17+ | 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 mewwmeStep 2 - Install Backend Dependencies
cd backend
npm installStep 3 - Configure the Bot
Copy the template configuration:
cp config.example.yml config.ymlEdit 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_hereGet 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 startThe 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.jarEnsure the password in Lavalink's application.yml matches the auth in your config.yml.
Next Steps
- Play your first song
- Set up a song request channel
- Full configuration reference
- Deployment guide for production setups