Answers for "discord.py make bot join voice channel and play music"

8

python discord bot join voice channel

@bot.command()
async def join(ctx):
    channel = ctx.author.voice.channel
    await channel.connect()
@bot.command()
async def leave(ctx):
    await ctx.voice_client.disconnect()
Posted by: Guest on June-08-2020

Code answers related to "discord.py make bot join voice channel and play music"

Python Answers by Framework

Browse Popular Code Answers by Language