This module is a simple Node.js based music extension/bot for Discord.js projects using YouTube.
The commands available are: (default names)
play <url>|<search string>
: Play audio from YouTube.skip
: Skip a song or multi songs with skip .stop
: Stop the current playing song.
Pre-installation:
-
npm install discord.js
It is recommended to have the stable branch. -
ffmpeg installed
correctly for your OS/env.
Allows the bot to join voice as well as speak. -
npm install ytdl-core
andnpm install opusscript
Required for voice. Discord.js prefers node-opus.