Answer the question
In order to leave comments, you need to log in
How to play music from YouTube discord.py stream?
@client.command()
@commands.has_permissions(administrator = True)
async def connect(ctx):
if(ctx.author.voice):
await ctx.author.voice.channel.connect()
await ctx.send("Подключён")
else:
await ctx.send("Что-то пошло не так!")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question