it.discordbot.command.base / StateMachine / updateStateMessage

updateStateMessage

abstract fun updateStateMessage(event: GuildMessageReceivedEvent): Boolean

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