huisheng

Quick and dirty Discord bot to play youtube videos. Uses yt-dlp under the hood.

Usage

Commands

Replace ! with your configured prefix

Deploying

Directly

Requirements:

npm install --global yarn
yarn install
yarn compile
node dist/index.js

With docker

docker run -d \
  -e DISCORD_CLIENT_ID=required
  -e DISCORD_BOT_TOKEN=required
  -e YOUTUBE_API_KEY=required
  -v some-volume-or-path:/var/lib/huisheng/cache # optionally persist your cache somewhere
  public.ecr.aws/t4g8t3e5/huisheng

With docker-compose

Refer to the docker-compose.yml file within this repo for an example.

docker-compose up -d --build

Configuration

Set these values in your environment:

These values are required:

These values are optional: