бот python discord се присъединява към голосовому канал
@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()
говори с помощта на робот discord на python
@client.event
async def on_ready():
print("Ready when you are")
while True:
bop = input("")
for server in client.servers:
for channel in server.channels:
if channel.name == "general":
await client.send_message(channel, bop)