src/Bot/Mainframe/Mainframe.php
public function execute(CommandInterface $command)
    {
        $packet = $this->cpu->dispatch(Events::RECEIVED_COMMAND, new Packet(['command' => $command]));

        return $this->cpu->dispatch(Events::AFTER_EXECUTE_COMMAND, $packet);
    }
public function execute(CommandInterface $command)
    {
        $packet = $this->cpu->dispatch(Events::RECEIVED_COMMAND, new Packet(['command' => $command]));

        return $this->cpu->dispatch(Events::AFTER_EXECUTE_COMMAND, $packet);
    }
@param CommandInterface $command

@return Packet