public function getCommandIfExists($string)
    {
        if (starts_with($string, $this->id)) {
            foreach ($this->commands as $commandName => $command) {
                if (starts_with($string, $this->id.$commandName)) {
                    return $command;
                }
            }
        }
    }