This bot is not lightweight and meant to be as fancy as possible, so it is reccomended to only run it in a few servers at a time
- YouTube and Spotify support (plus many more such as Tidal, Deezer, SoundCloud...)
- Support for playlists
- Command-less, use the in-message player to control it.
- Lyrics support
- Discord slash command support
- Loop, Shuffle or Restart your songs
- No message spamming, everything is done in one compact embed
Installation of Python 3.12+
, a Discord Bot Token
and Spotify API Key (for Spotify Support)
are required.
All the dependencies are listed in requrements.txt, to install them run:
pip install -r requirements.txt
You have to create your own discord Bot and store your Bot Token
-
Your Discord Application - Discord
-
You own Spotify Keys - Spotify
- This information must be stored in the .env file.
FFMPEG is a module that will be used to play music, you must have this configured in your machine
FFMPEG must be configured in the PATH for Windows users. Check this YoutubeVideo.
You can download the executables in this link https://www.ffmpeg.org/download.html
and then put the .exe files inside a ffmpeg\bin folder in your C:\ folder. Do not forget to add 'ffmpeg\bin' to your PATH.
For the bot to work, you need to create a .env
file in the same directory and put all the required API Keys there
Example:
BOT_TOKEN = YOUR_DISCORD_BOT_TOKEN
SPOTIFY_ID=YOUR_SPOTIFY_ID
SPOTIFY_SECRET=YOUR_SPOTIFY_SECRET
It is reccomended to create a Text Channel just for this bot so the player always stays visible. Just use /play to start and everything else will come intuitevely, it is just like using a generic media player from an app.
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.
- Multi-bot suopport if you have 2 istances of this bot in your server, if someone in another channel uses /play another bot will join and listen to their commands