#When creating a channel, the bot does not give permission to see the channel, how can I solve this ?

1 messages · Page 1 of 1 (latest)

glacial finch
#

I am creating an analogue of Ticketbot, when you click on the button, a channel is created in a separate category, but only administrators see it, the code seems to indicate that the user using the button gets the opportunity to watch. Help what to do to fix it!!!

willow grottoBOT
#
Too Many Tags

Please use either the disnake or python tag, but not both. If your question pertains to disnake, please use the disnake tag. If your question is a general python question that does not depend on disnake, please use the python tag.
I've taken a guess based on the contents of your message which your question is actually about.

If you believe this to be in error, please let us know.

glacial finch
#

my code

wide orchid
glacial finch
#

i dont know what it is

glacial finch
wide orchid
#

And assign required permissions

glacial finch
#

i.e. I have to write like this in the "overwrites" parameter - overwrites = {inter.guild.author: disnake.PermissionOverwrite(view_channel=True)} ??)

glacial finch
#

just 'Guild' object has no attribute 'author'

#

How to correctly add the author to the dict, I'm just doing something wrong

wide orchid
glacial finch
#

ok, I'll check now

#

thank you very much, it's nice that there are people ready to help newbies thank you!!!!

willow grottoBOT
#
Solved!

Marked the thread as solved. If your question has not been answered, please open a new thread in #1019642966526140566.