def msg(self, msg="", to_obj=None, from_obj=None,
            session=None, **kwargs):
        from_obj = from_obj or self.caller
        to_obj = to_obj or from_obj
        if not session:
            if to_obj == self.caller:
                session = self.session
            else:
                session = to_obj.sessions.get()
        to_obj.msg(msg, from_obj=from_obj, session=session, **kwargs)

    # Common Command hooks
This is a shortcut instad of calling msg() directly on an
dataset/ETHPy150Open evennia/evennia/evennia/commands/command.py/Command.msg