bind

fun bind(name: String, command: Command): CommandPingu

Binds a command to a name and registers it.

Return

The current instance of CommandPingu for method chaining.

Parameters

name

The name to bind the command to.

command

The command to be registered.