Inspiration

Goth music is very under-exposed. As an active enjoyer of this type of music and a user of Discord, I wanted to create a simple bot that would allow me to discover new artists and songs from Deaddeadcool's posts, a YouTube channel that is dedicated to sharing goth music and related genres.

What it does

It randomly chooses a song from a playlist on Deaddeadcool's channel, which comprises all the channel's posts. It currently has two commands available for usage: !play and !stop.

How we built it

This bot was built with node.js on Replit using the discord.js module and discord-player package.

What's next for Goth Music Discord Bot

Currently, the bot does not find certain tracks that correspond to those in the playlist. This is due to the limited search results that discord-player's search method returns, which do not always include the track itself because it may be a song with very minimal views. This is a priority issue, as it may affect many of the songs in the source playlist.

Additionally, I'd like to add more general functionalities, such as the ability to list artist information and play music from specific artists if desired. I would also like to incorporate more basic commands, such as pausing and skipping tracks. Finding a more comprehensive and actively updated playlist to pull tracks from would be beneficial as well.

Built With

Share this project:

Updates

posted an update

Updates

I have removed the discord-player package from the bot's source code and replaced it with the built-in AudioPlayer class that is part of discord.js. The bot now uses ytdl to search for music, eliminating the previous difficulty that the bot faced with finding certain tracks. Additionally, I added the commands !pause and !unpause. Finally, the bot now automatically finds a new track once the track that is already playing ends.

Log in or sign up for Devpost to join the conversation.