Telegram bot that receives links to youtube karaoke songs and orders the songs equitatively between the people in queue.
Go to BotFather and follow the process to create a new bot and get an API Key.
Create an .env file following the example from .env.example
docker compose up -d # Run the databaseUse your favorite way to connect to the database and run the script in db/schema.sql. Remember to replace the password.
npm i
npm startSend the command /create [CODE] to create a karaoke party. The code must have a maximum of 16 alphanumeric chars.
/start
/create YERYIS
Admins should also run this
/fiesta
YERYIS
Get a list of the next 5 songs in the queue
/queue
/mynextone
Marks the current song as done, sends the next son's link to the admin and sends the next song's user a message reminding them that their song is up next.
/next
Pending.