dscord ~master (2017-09-20T21:41:30Z)
Home
Dub
Repo
Permissible.can
dscord
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
...)
mixin template
Permissible
()
bool
can
(
User
user
,
Permission
[]
some
...
)
Meta
Source
See Implementation
dscord
types
permission
Permissible
functions
can
Returns whether the given user has all of the given permissions