function unregisterCommand(\CharlotteDunois\Livia\Commands\Command $command) {
        $group = $this->resolveGroup($command->groupID);
        $group->commands->delete($command->name);
        $this->commands->delete($command->name);
        
        $this->client->emit('debug', 'Unregistered command '.$command->groupID.':'.$command->name);
        $this->client->emit('commandUnregister', $command, $this);
        
        return $this;
    }
function unregisterCommand(\CharlotteDunois\Livia\Commands\Command $command) {
        $group = $this->resolveGroup($command->groupID);
        $group->commands->delete($command->name);
        $this->commands->delete($command->name);
        
        $this->client->emit('debug', 'Unregistered command '.$command->groupID.':'.$command->name);
        $this->client->emit('commandUnregister', $command, $this);
        
        return $this;
    }
function unregisterCommand ( \ CharlotteDunois \ Livia \ Commands \ Command $ command ) { $ group = $ this -> resolveGroup ( $ command -> groupID ) ; $ group -> commands -> delete ( $ command -> name ) ; $ this -> commands -> delete ( $ command -> name ) ; $ this -> client -> emit ( 'debug' , 'Unregistered command ' . $ command -> groupID . ':' . $ command -> name ) ; $ this -> client -> emit ( 'commandUnregister' , $ command , $ this ) ; return $ this ; }
Unregisters a command. Emits a commandUnregister event.
@param \CharlotteDunois\Livia\Commands\Command  $command
@return $this
@throws \RuntimeException
Unregisters a command . Emits a commandUnregister event .