graphmine-core / io.github.sof3.graphmine.command.impl / VersionCommand
object VersionCommand : Command<Server>
Implements the /version command
| aliases | var aliases: List<String>The list of aliases |
| description | var description: I18nThe description of the command, shown in action lists like /help. |
| name | lateinit var name: QualifierThe qualified name of the command. |
| scope | lateinit var scope: CThe scope that owns the command |
| dispatch | fun dispatch(reader: FormattedStringReader, sender: CommandSender, receiver: CommandReceiver): JobExecutes the command. |
| handle | fun <A : Overload, S : CommandSender> handle(fn: suspend CommandExecutor<A, S, C>.() -> Unit): UnitAdds a handler to the command. |