An open-source discord music bot written in Typescript.
Command List
- /play | /p play a song by using a youtube url or a song name
- /queue | /q queue a song at the end of the queue by using a youtube url or a song name
- /skip | /s skips the current song being played
- /pause | /pa pauses a song (resumable)
- /volume | /v raise or lower the volume
- /stop | /s stop the current song being played (non-resumable)
- /queue | /vq look at the current queue
- /help | /h get the command list and other information about the bot
- /currentlyplaying | /cp | /playing | /playingnow
- /reload | /r reload a command
- yarn build: deletes previous build folder (
./dist) and rebuilds project (production) - yarn start: builds the project with
yarn buildand starts the bot withnode dist/index.js(production) - yarn run start:dev: start the bot with nodemon (
development) - yarn run lint: lints the project (
development) - yarn run lint:fix: lints the project and fixes any errors (
development)
DISCORD_TOKEN=<discord bot token>
YT_API_KEY=<youtube/google developer api access key>
PORT=<port number for homepage>
- implement skip functionality
- implement play and queue if yt url is passed
- create custom help command and documentation
- required arguments stuff
- implement permissions
- clean up queue
- command reloading
- command cooldowns
- embeds for queue and play (https://discordjs.guide/popular-topics/embeds.html#embed-preview)
- queue duration
- queue size
- playtime for queue and play
- set activity if noting playing
- message reactions for pause / stop / skip (https://discordjs.guide/popular-topics/reactions.html#reacting-to-messages)
- handling for multiple servers
- currently playing command with time
- progress bar
- thumbnail image
- link
- status
- stop command
- clear queue command
- currently playing command
- checks against queue
- deployment
- front-end homepage for adding a server