Preparing search index...
The search index is not available
RevKit Documentation
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Rev
Kit
Documentation
revkit
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
API
revkit/commandeer
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
revkit/voice
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
User
Permission
Flags
constructor
bits
map
add
all
has
map
All
remove
RevKit Documentation
revkit
UserPermissionFlags
Class UserPermissionFlags
Hierarchy
BaseFlags
UserPermissionFlags
Index
Constructors
constructor
Properties
bits
map
Methods
add
all
has
map
All
remove
Constructors
constructor
new
User
Permission
Flags
(
bits
:
number
)
:
UserPermissionFlags
Parameters
bits:
number
Returns
UserPermissionFlags
Properties
bits
bits
:
number
map
map
:
{
[key:
number
]
:
string
;
}
Type declaration
[
key:
number
]:
string
Methods
add
add
(
flag
:
number
)
:
UserPermissionFlags
Parameters
flag:
number
Returns
UserPermissionFlags
all
all
(
)
:
UserPermissions
[]
Returns
UserPermissions
[]
has
has
(
flag
:
UserPermissions
)
:
boolean
Parameters
flag:
UserPermissions
Returns
boolean
map
All
map
All
(
)
:
number
[]
Returns
number
[]
remove
remove
(
flag
:
number
)
:
UserPermissionFlags
Parameters
flag:
number
Returns
UserPermissionFlags