Skip to content

the discord bot written on js to play youtube videos in the voice channel

Notifications You must be signed in to change notification settings

hifichevymane/discord-bot-youtube

Repository files navigation

discord-bot-youtube

the discord bot written on js to play youtube videos in the voice channel

Setup

  1. Install dependencies:
npm install
  1. Install pm2:
npm install pm2 -g

Run the bot

DEV:

Run the bot in DEV mode:

npm run dev

Ctrl + C to stop the bot

Deploy the bot

Compile TypeScript code:

npm run build

Run bot on the background:

npm run deploy:app

Stop bot:

npm stop

Open logs:

npm run logs:show

To close logs press Ctrl + C

Clear logs:

npm run logs:clear

Lint

Run linter without fixing errors:

npm run lint

Run linter and fix the errors:

npm run lint:fix