コード例 #1
0
 def __init__(self, input={}):
     if input == None: EventBase.__init__(self)
     else: EventBase.__init__(self, input)
     try:
         self['fromm'] = self['from']
     except (KeyError, TypeError):
         self['fromm'] = ''
コード例 #2
0
ファイル: event.py プロジェクト: melmothx/jsonbot
 def __init__(self):
     EventBase.__init__(self)
     self.bottype = "wave"
     self.msg = False
     self.target = None
     self.roottarget = None
     self.rootreply = None
     self.gadget = None
     self.result = []
     self.cbtype = "BLIP_SUBMITTED"
コード例 #3
0
ファイル: event.py プロジェクト: jvanvinkenroye/painload
 def __init__(self):
     EventBase.__init__(self)
     self.bottype = "wave"
     self.msg = False
     self.target = None
     self.roottarget = None
     self.rootreply = None
     self.gadget = None
     self.result = []
     self.cbtype = "BLIP_SUBMITTED"
     self.overload = True
コード例 #4
0
ファイル: event.py プロジェクト: code2u/jsb
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
コード例 #5
0
ファイル: gozerevent.py プロジェクト: NURDspace/jsonbot
 def __init__(self, input={}):
     if input == None: EventBase.__init__(self)
     else: EventBase.__init__(self, input)
     try: self['fromm'] = self['from']
     except (KeyError, TypeError): self['fromm'] = ''
コード例 #6
0
ファイル: event.py プロジェクト: code2u/jsb
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot
コード例 #7
0
ファイル: event.py プロジェクト: melmothx/jsonbot
 def __init__(self, bot=None): 
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
コード例 #8
0
 def __init__(self, bot=None):
     EventBase.__init__(self)
     self.bottype = "xmpp"
     self.cbtype = 'MESSAGE'
     self.bot = bot
コード例 #9
0
ファイル: event.py プロジェクト: Petraea/jsonbot
 def __init__(self, bot=None): 
     EventBase.__init__(self, bot=bot)
     self.bottype = "tornado"
     self.cbtype = "TORNADO"
     self.bot = bot
     self.how = "overwrite"
コード例 #10
0
 def __init__(self, bot=None):
     EventBase.__init__(self, bot=bot)
     self.bottype = "web"
     self.cbtype = "WEB"
     self.bot = bot