Answer the question
In order to leave comments, you need to log in
How to delete a channel knowing its name in discord.py?
I am making a system of private voice channels. Problems arose with the removal of the channel. Help solve
Code:
@bot.command()
async def delete(ctx):
channel=f"{ctx.message.author}'s channel"
await bot.delete_channel(channel)
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