Skip to content

A Discord music bot that can track what someone's playing on Spotify and play it live in a voice channel for everyone to listen along

License

Notifications You must be signed in to change notification settings

rofe-dl/tamashi

Repository files navigation

T a m a s h i

tamashi_img

(CURRENTLY IN DEVELOPMENT FOR v2. SO IT WONT WORK AT THE MOMENT.)

A discord bot that can follow what a Spotify user is listening to and play it in a voice channel so everyone can listen in simultaneously. Although this feature already exists in Discord with the Spotify integration (Listen Along), only premium Spotify users get to use it. This bot can be a viable alternative.

Apart from that, it also supports manually playing songs with the /play command. To see all the commands, use /help.

And no, I don't have plans to host and make this a public bot for everyone. This is just a hobby project for private use in my Discord servers. Please set it up yourselves.

Key Commands

Command Description
/help Lists all the commands.
/followme Makes the bot track what you're currently playing on Spotify!
/unfollow Makes the bot stop tracking the current user's Spotify.
/whofollow Tells you who the bot is following.
/forgetme Makes the bot forget your data so you can reauthorize it to access your Spotify again.
/play Play a song using a search phrase or URL. To specify a source, use -flags before the phrase. -sp for Spotify, -yt for YouTube e.g /play -sp keshi drunk . Spotify, Deezer, Apple Music and YouTube links are also valid.
/pause Pauses the currently playing song.
/resume Resumes the currently playing song if it's paused.
/stop Stops the currently playing song.

Tech Stack

  • NodeJS
  • Discord.js
  • Express
  • MongoDB with Mongoose
  • Redis
  • Lavalink
  • Docker

Note to self:

  • To release new versions, change tag in docker-compose.yml, package.json and README. Build the new images using docker-compose build --no-cache. Push it using docker-compose push.