Unsuccessfull attempts

This commit is contained in:
Tablet-PC\cloud 2017-01-25 10:11:51 +11:00 committed by Griatch
parent 1d7c369345
commit 8fc20a3056
3 changed files with 8 additions and 3 deletions

View file

@ -227,6 +227,9 @@ class IRCBot(Bot):
text (str, optional): Command string.
"""
# Dev Test
text += str(kwargs) # if kwargs else ""
if not self.ndb.ev_channel and self.db.ev_channel:
# cache channel lookup
self.ndb.ev_channel = self.db.ev_channel

View file

@ -203,8 +203,9 @@ class IRCBot(irc.IRCClient, Session):
kwargs (any): Other data from protocol.
"""
self.sessionhandler.data_in(self, bot_data_in=text)
#(cmdname, ((args,), {kwargs}))
#("text", ("blah",), {})).
self.sessionhandler.data_in(self, bot_data_in=(text), test=test)
def send_text(self, *args, **kwargs):
"""

View file

@ -736,7 +736,8 @@ class ServerSessionHandler(SessionHandler):
sessions (Session): Session.
Kwargs:
kwargs (any): Other data from protocol.
kwargs (any): Incoming data from protocol on
the form `{"commandname": ((args), {kwargs}),...}`
"""