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)
Base
Flags
constructor
bits
map
add
all
has
map
All
remove
RevKit Documentation
revkit
BaseFlags
Class BaseFlags
Hierarchy
BaseFlags
PermissionFlags
ServerFlags
UserBadges
UserFlags
UserPermissionFlags
Index
Constructors
constructor
Properties
bits
map
Methods
add
all
has
map
All
remove
Constructors
constructor
new
Base
Flags
(
map
:
{
[key:
number
]
:
string
;
}
, bits
:
number
)
:
BaseFlags
Parameters
map:
{
[key:
number
]
:
string
;
}
[
key:
number
]:
string
bits:
number
Returns
BaseFlags
Properties
bits
bits
:
number
map
map
:
{
[key:
number
]
:
string
;
}
Type declaration
[
key:
number
]:
string
Methods
add
add
(
flag
:
number
)
:
BaseFlags
Parameters
flag:
number
Returns
BaseFlags
all
all
(
)
:
number
[]
Returns
number
[]
has
has
(
flag
:
number
)
:
boolean
Parameters
flag:
number
Returns
boolean
map
All
map
All
(
)
:
number
[]
Returns
number
[]
remove
remove
(
flag
:
number
)
:
BaseFlags
Parameters
flag:
number
Returns
BaseFlags