public function loadCatchAllCommand($command)
{
if ($command instanceof Command\BaseCommand) {
$this->catchAllCommands[] = $command;
} else {
throw new \Exception('Command must implement PhpSlackBot\\Command\\BaseCommand');
}
}