yde
1.3.0
jvm
yde
/
io.github.ydwk.yde.entities
/
Guild
/
getRoleById
get
Role
By
Id
abstract
fun
getRoleById
(
roleId
:
Long
)
:
Role
?
(
source
)
open
fun
getRoleById
(
roleId
:
String
)
:
Role
?
(
source
)
Gets a role from the guild.
Return
The role, or null if it doesn't exist.
Parameters
role
Id
The id of the role.