it.discordbot.beans.image / LoremPicsumStateMachine / updateStateMessage

updateStateMessage

fun updateStateMessage(event: GuildMessageReceivedEvent): Boolean

Overrides StateMachine.updateStateMessage

Updates the state of this finite state machine.

Parameters

event - The event this state machine should use as input source

Return
True, if this state machine reached its final state