/PhantomKnight

An open source discord bot which I made for fun.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

# 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