Bot, Python, Discord - не подключается к голосовому каналу
Пытался недавно подключить в дискорде к голосовому каналу итог: Ошибок не пишет, но и не подключается бот:
import discord
import os
from discord.ext import commands
from discord.ext.commands import Bot
from discord.utils import get
import asyncio
client = commands.Bot(command_prefix= '/')
@client.event
async def on_ready():
print('Connected')
@client.event
async def on_message(msg): pass
# if split in msg.content:
# await msg.delete()
# await msg.channel.send('', delete_after=3.50)
# await msg.channel.send('', delete_after=3.50)
@client.command
async def join(ctx):
author = ctx.message.author
channel = author.voice_channel
await client.join_voice_channel(channel)
client.run('ODAzMjEyMDYyNDczNzE1NzUy.YA6fhg.wZbKolXSraQ2gVPupu0W8HixaD8')