Inspired by late Rythm
Requires Node.js 20+
# Clone this repository
git clone https://github.com/szczursonn/rythm4
cd rythm4
# Install dependencies
npm i
# Create the .env file, or set the enviroment variables yourself
nano .env
# Start the bot
npm run dev
Create .env file and set following enviroment variables:
- RYTHM4_DISCORD_TOKEN: Bot token from https://discord.com/developers/applications
- RYTHM4_PREFIX (optional): Prefix for commands, defaults to
$
- RYTHM4_DEBUG (optional): If not empty, enables debug logging
Adds a song or a playlist to the queue, and joins the channel if the bot isn't in one already
Supported formats: youtube search query, youtube video url, youtube playlist url, soundcloud song url
Disconnects the bot from voice channel
Displays the currently playing song, the song queue, whether the player is paused and whether looping is on
Skips the current song, also disables looping if it's on
Toggles looping of current song
Pauses playback
Resumes playback
Shows the list of the commands
Clears the queue (deletes all items)
Show some info about the bot: amount of active sessions, uptime [hh:mm:ss]
Register slash commands on the server
Unregisters slash commands on the server