Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -9,6 +9,9 @@ async def execute(bot, params, message):
|
|||
created_count = 0
|
||||
for category_params in categories:
|
||||
category_name = category_params.get('category_name')
|
||||
if not category_name:
|
||||
await message.channel.send("Nom de catégorie requis pour la création.")
|
||||
continue
|
||||
try:
|
||||
category = await guild.create_category(category_name)
|
||||
created_count += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue