I
I
Igor Gafarchik2020-05-21 15:46:58
Python
Igor Gafarchik, 2020-05-21 15:46:58

Discord.py bot remove category?

Good day!
In existence there is a function for registration of the server. But it is necessary that the bot also delete the main channels. I know about the function delete_channel()
. Is there something similar with categories?

delete_category()
remove_category()

or is there no such thing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yeletsky, 2020-05-21
@Gafarchik

Documentation:
- discord.Guild.create_category
- discord.CategoryChannel.delete
- discord.CategoryChannel.clone

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question