ephemeralUserCommand

suspend fun <M : ModalForm> Extension.ephemeralUserCommand(modal: () -> M, body: suspend EphemeralUserCommand<M>.() -> Unit): EphemeralUserCommand<M>

Register an ephemeral user command, DSL-style.


Register a custom instance of an ephemeral user command.