Answers for "how to make a discord bot say something in a voice channel python"

8

how to make it so a discord bot messages in a certain channel python

channel = client.get_channel(12324234183172)
await channel.send('hello')
Posted by: Guest on January-19-2020
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 "how to make a discord bot say something in a voice channel python"

Python Answers by Framework

Browse Popular Code Answers by Language