#Troubles understanding the "create_channel()" function

1 messages · Page 1 of 1 (latest)

split plaza
#

Hello, I am trying to create a text channel in specific category with only one specific user and role having access to it.

If I give category ID to position argument in the function, will it create it in the category I am specifying?

Need help understanding permission_overwrites argument.

Thank you

Code:

await GuildCategory.create_channel(channel_type=0, name=f"Vetting of {str(ctx.author)[1:]}", position=vetCategoryID, permission_overwrites=)```
spare obsidianBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

inland coyote
split plaza
#

yes but how would I go around changing them?

#

what do I need to send?

#

I suppose I need userID and roleID, do I just send them in one string separated by space?

split plaza
#

any help?

split plaza
#

I just don't understand this

#

what is Absent type

#

Union, dict, PermissionOverwrite, Union

#

what are those