Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #discord #bot #join #voice #channel
ADD COMMENT
Topic
Name
3+9 =