Skip to content

Music bot for Discord (unfinished, will work on it soon)

License

Notifications You must be signed in to change notification settings

heapyxyz/music.ts

Repository files navigation

Introduction

Music.ts is a Discord music bot written in TypeScript with Moonlink.js and DiscordX.
Bot supports YouTube, Spotify and SoundCloud, but it doesn't mean other sources won't work!
Sources like Twitch, Deezer or Bandcamp will (most likely) work fine - I just never tested them.

Note

It is highly recommended to use Lavalink over NodeLink when hosting music.ts! I had some weird issues when using NodeLink, no idea why.

Invite music.ts

You can invite music.ts hosted by me by clicking here.
Uptime is above 90% - expect restarts sometimes (when a feature or fix is commited).

Usage (Development)

Rename .env.example to .env and configure it first!

npm install
npm run dev

Usage (Production)

Rename .env.example to .env and configure it first!

npm install --production
npm run build
npm run start

Docker

Starting

docker-compose up -d

Stopping

docker-compose down

Logs

docker-compose logs

Full Docker command list can be viewed here.