toggle menu
kord-core
common
switch theme
search in API
kord-core
/
dev.kord.core.live
/
onUpdate
on
Update
@
KordPreview
fun
LiveMember
.
onUpdate
(
scope
:
CoroutineScope
=
this
,
block
:
suspend
(
MemberUpdateEvent
)
->
Unit
)
:
Job
(
source
)
@
KordPreview
fun
LiveMessage
.
onUpdate
(
scope
:
CoroutineScope
=
this
,
block
:
suspend
(
MessageUpdateEvent
)
->
Unit
)
:
Job
(
source
)
@
KordPreview
fun
LiveRole
.
onUpdate
(
scope
:
CoroutineScope
=
this
,
block
:
suspend
(
RoleUpdateEvent
)
->
Unit
)
:
Job
(
source
)
@
KordPreview
fun
LiveUser
.
onUpdate
(
scope
:
CoroutineScope
=
this
,
block
:
suspend
(
UserUpdateEvent
)
->
Unit
)
:
Job
(
source
)