/**
* Registers the command used by this plugin.
*/
protected void registerCommand () {
// Get the command manager
CommandManager cmdMgr = CommandManager.getInstance();
// Check if the plugin command can be registered
if ( this.objPluginCmd == null &&
this.objConnection != null &&
this.objBotOperators != null ) {
// Register the "plugin" command
this.objPluginCmd = new Plugin( this.objConnection, this.objPluginManager, this.objBotOperators );
cmdMgr.registerCommand( "!plugin", this.objPluginCmd );
}
}