dcord ~master (2020-08-31T23:49:36Z)
Home
Dub
Repo
Permissible.can
dcord
types
permission
Permissible
Returns whether the given user has all of the given permissions
bool
can
(Snowflake user, Permission perm)
bool
can
(Snowflake user, Permission[] some)
bool
can
(User user, Permission perm)
bool
can
(User user, Permission[] some)
mixintemplate
Permissible
()
bool
can
(
User
user
,
Permission
[]
some
...
)
Meta
Source
See Implementation
dcord
types
permission
Permissible
functions
can
Returns whether the given user has all of the given permissions