getCommand

abstract suspend fun getCommand(name: String): Command?

Retrieves a command by name.

Return

the Command if found, or null otherwise

Parameters

name

command name to look up