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

PhantomKnight287/PhantomKnight

Repository files navigation

# PhantomKnight - A Discord Bot

GNU Licence





Discord Bots

Click here to see list of commands.

Instructions

Git, Nodejs and FFmpeg must be installed on your system

  1. Clone the Repo
git clone https://github.com/PhantomKnight287/Phantomknight
  1. Install dependencies
npm i 
 or
yarn
  1. Setting up Environment Variables Create .env in root of the folder and follow .env.example for variables.
  2. Compile Ts
yarn build:prod
or 
npm run build:prod
  1. Start the bot
npm run start:prod
or
yarn start:prod
  • Run The bot Using Docker

Get `docker-compose.yml` from root of the project. Follow Step 3 from above and run
docker-compose up --build --detach

separator

Reference
Command Handler
Idea to Use Typescript and Docker
Music Commands