Kwargs now being passed to the bot successfully
This commit is contained in:
parent
8fc20a3056
commit
40d4f6d286
2 changed files with 2 additions and 4 deletions
|
|
@ -228,7 +228,7 @@ class IRCBot(Bot):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# Dev Test
|
# Dev Test
|
||||||
text += str(kwargs) # if kwargs else ""
|
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
|
||||||
|
|
|
||||||
|
|
@ -203,9 +203,7 @@ 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, kwargs])
|
||||||
#("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):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue