public function reply($user, $text)
    {
        if ($user instanceof CommandInterface) {
            $sequence = $this->sequencer->command($user);

            return $this->say($sequence['user'].' '.$text);
        }

        return $this->tell($user, $text);
    }
public function reply($user, $text)
    {
        if ($user instanceof CommandInterface) {
            $sequence = $this->sequencer->command($user);

            return $this->say($sequence['user'].' '.$text);
        }

        return $this->tell($user, $text);
    }
public function reply ( $ user , $ text ) { if ( $ user instanceof CommandInterface ) { $ sequence = $ this -> sequencer -> command ( $ user ) ; return $ this -> say ( $ sequence [ 'user' ] . ' ' . $ text ) ; } return $ this -> tell ( $ user , $ text ) ; }
Respond with a reply to a user.

@param CommandInterface|string user_id, or a CommandInterface containing user_id and user_name.
@param $text

@return Reply
Respond with a reply to a user .