A pretty basic discord music bot
Plays songs from a youtube/spotify video/song or playlist.
Also will upload files from tik tok links
Be warned, Mikey is a father and thinks he's funny.
You will need python3 and pip3 to run this project.
Linux install: $ sudo apt-get install python3 python3-pip
Windows/Mac install: See instructions here
- Follow the steps here to create a discord bot account and add it to your server.
- Make sure the bot has permissions to send/read messages as well as connect to and speak in voice channels
- Make sure you note down your bot's token
- Go to the Spotify Devloper Portal and create a new app.
- Make sure you note down your Client ID and Client Secret
- Create account for RapidAPI and get access to the TikTok video api
- Create a
config.ini
file in the same format as the providedexample.ini
file in this project.- Make sure you update the sections with the tokens you noted for discord and spotify.
- Install dependencies with
pip3 install -r requirements.txt
- Run the bot with
python3 mikey/mikey.py
Mikey's Magical Boombox
Music:
connect Connect to voice.
now_playing Display information about the currently playing song.
pause Pause the currently playing song.
play Request a song and add it to the queue.
queue Retrieve a basic queue of upcoming songs.
resume Resume the currently paused song.
shuffle Shuffle the music in the queue
skip Skip the song.
stop Stop the currently playing song and destroy the player.
trae Reacts to one of Trae's jokes
volume Change the player volume.
No Category:
help Shows this message
Type !help command for more info on a command.
You can also type !help category for more info on a category.
- Based on this example bot by vbe0201
- Uses the Discord.py API
- Uses the Spotipy API
- Uses the youtube-dl library
- Uses RapidAPI tiktok video api
- Logic based on this npm implementation posted by u/Odd_Variation_9142