Instance Method

register(_:with:message:)

Registers a command

Declaration

func register(_ commandName: String, with options: CommandOptions = CommandOptions(), message: String)

Parameters

commandName

Name to give command

options

Options to give command

message

String to send on command