Unsuccessfull attempts
This commit is contained in:
parent
1d7c369345
commit
8fc20a3056
3 changed files with 8 additions and 3 deletions
|
|
@ -227,6 +227,9 @@ class IRCBot(Bot):
|
||||||
text (str, optional): Command string.
|
text (str, optional): Command string.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
# Dev Test
|
||||||
|
text += str(kwargs) # if kwargs else ""
|
||||||
|
|
||||||
if not self.ndb.ev_channel and self.db.ev_channel:
|
if not self.ndb.ev_channel and self.db.ev_channel:
|
||||||
# cache channel lookup
|
# cache channel lookup
|
||||||
self.ndb.ev_channel = self.db.ev_channel
|
self.ndb.ev_channel = self.db.ev_channel
|
||||||
|
|
|
||||||
|
|
@ -203,8 +203,9 @@ class IRCBot(irc.IRCClient, Session):
|
||||||
kwargs (any): Other data from protocol.
|
kwargs (any): Other data from protocol.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
#(cmdname, ((args,), {kwargs}))
|
||||||
self.sessionhandler.data_in(self, bot_data_in=text)
|
#("text", ("blah",), {})).
|
||||||
|
self.sessionhandler.data_in(self, bot_data_in=(text), test=test)
|
||||||
|
|
||||||
def send_text(self, *args, **kwargs):
|
def send_text(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -736,7 +736,8 @@ class ServerSessionHandler(SessionHandler):
|
||||||
sessions (Session): Session.
|
sessions (Session): Session.
|
||||||
|
|
||||||
Kwargs:
|
Kwargs:
|
||||||
kwargs (any): Other data from protocol.
|
kwargs (any): Incoming data from protocol on
|
||||||
|
the form `{"commandname": ((args), {kwargs}),...}`
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue