#guild.permissions

1 messages · Page 1 of 1 (latest)

modern grotto
#

@solid light So you're trying to get the permission of an guild correct?

solid light
modern grotto
#

So could you possible do

const everyone = <guild>.roles.everyone
const permissions = new Permissions(everyone);```
quaint wolfBOT
unique talon
#

^

unique talon
#

Works for the everyone role

modern grotto
#

I was just putting that out there

modern grotto
#

Hmmm 🤔

solid light
#
const permissions = new Permissions(guild.permissions); ```
 I use it but said 
Invalid bitfield flag or number: 37080128.