Permissible.can

Returns whether the given user id has all of the given permissions

  1. bool can(Snowflake user, Permission perm)
  2. bool can(Snowflake user, Permission[] some...)
    mixin template Permissible()
    bool
    can
    (
    Snowflake user
    ,
    )
  3. bool can(User user, Permission perm)
  4. bool can(User user, Permission[] some...)

Meta