(self, source_bot, raw_details)
source_bot: the source bot the event was generated from

        details:
            client: if given, the source client the event was generated from
            type
            meta
            version
source_bot: the source bot the event was generated from
source_bot : the source bot the event was generated from
def __init__(self, source_bot, raw_details):  # channel, type, meta=None, server_info=None, version=None):
        """
        source_bot: the source bot the event was generated from

        details:
            client: if given, the source client the event was generated from
            type
            meta
            version
        """
        self.log = logging.getLogger('{0}.{1}'.format(self.__class__.__module__, self.__class__.__name__))

        self.source_bot = source_bot
        self.raw_details = raw_details
        #self.raw_line =
        self.time_stamp = time.time()

        self.event_version = DEFAULT_EVENT_VERSION
        self.event_type = None
        self.cmd = None
        self.args = None

        self.source_client = None
        self.source_client_id = None
        self.source_room = None
        self.scope = None

        self.meta = None
        self.from_bot = None

        # TODO: move so that the bot actually calls this and passes in its list of accepted tokens
        self.parse_details()
def __init__ ( self , source_bot , raw_details ) : # channel, type, meta=None, server_info=None, version=None): self . log = logging . getLogger ( '{0}.{1}' . format ( self . __class__ . __module__ , self . __class__ . __name__ ) ) self . source_bot = source_bot self . raw_details = raw_details #self.raw_line = self . time_stamp = time . time ( ) self . event_version = DEFAULT_EVENT_VERSION self . event_type = None self . cmd = None self . args = None self . source_client = None self . source_client_id = None self . source_room = None self . scope = None self . meta = None self . from_bot = None # TODO: move so that the bot actually calls this and passes in its list of accepted tokens self . parse_details ( )