A music bot for Discord that streams music from Google Play Music in a voice channel.
Requirements:
- Python 3.5
- pip
- Faker
- gmusicapi
- discord.py+voice
- ffmpeg
- ???
- Warriors blew a 3-1 lead.
- Install Python 3.5 on Windows or Linux.
- Install the required packages:
pip install gmusicapi==1.10.1
pip install discord.py+voice
pip install asyncio
pip install aiohttp
pip install discord
pip install Faker
- Install ffmpeg on Linux or Windows. Make sure to add ffmpeg to the path if you're installing on Windows.
- Download the bot, search up "email" in main.py
- Replace
'email'
and'password'
with your Google Play Music account's email and pass. - Go to the bottom of the file and look for
bot.run("bot-token-here")
Replacebot-token-here
with the bot token you gain from Discord. - cd into the directory where the bot is and run
python main.py
-
When using this, please make sure everyone in the channel has a Google Play Music subscription. This is just to make sure no one gets in trouble.
-
To see the bot's commands do
!help
-
To get the best results from the
!play
command this is the best format:!play (Artist Name) - (Song Name)