#Check if a user has a specific permission in a specific channel

1 messages · Page 1 of 1 (latest)

pine gladeBOT
#

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

lone vigil
#

It return's an int? It should be boolean

#

ctx.channel.has_permission(PERMISSION.Adminstrator) is False: works fine for me

gritty onyx
#

no

#

sorry I meant ctx.author.channel_permissions() which takes a channel as argument

#

the previous method doesnt exist

#

for me

#

unless IDE is being dumb