Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
Role
Class Role
Hierarchy
Base
Role
Index
Constructors
constructor
Properties
color
created
At
guild
hoist
id
json
managed
mention
mentionable
name
permissions
position
Methods
delete
edit
edit
Position
inspect
toJSON
Constructors
constructor
new
Role
(
data
:
BaseData
, guild
:
Guild
)
:
Role
Parameters
data:
BaseData
guild:
Guild
Returns
Role
Properties
color
color
:
number
created
At
created
At
:
number
guild
guild
:
Guild
hoist
hoist
:
boolean
id
id
:
string
json
json
:
{}
Type declaration
[
s:
string
]:
boolean
managed
managed
:
boolean
mention
mention
:
string
mentionable
mentionable
:
boolean
name
name
:
string
permissions
permissions
:
Permission
position
position
:
number
Methods
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason:
string
Returns
Promise
<
void
>
edit
edit
(
options
:
RoleOptions
, reason
?:
string
)
:
Promise
<
Role
>
Parameters
options:
RoleOptions
Optional
reason:
string
Returns
Promise
<
Role
>
edit
Position
edit
Position
(
position
:
number
)
:
Promise
<
void
>
Parameters
position:
number
Returns
Promise
<
void
>
inspect
inspect
(
)
:
Role
Returns
Role
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
Exports
Externals
Eris
Role
constructor
color
created
At
guild
hoist
id
json
managed
mention
mentionable
name
permissions
position
delete
edit
edit
Position
inspect
toJSON
Generated using
TypeDoc