mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
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
|
||||
text += str(kwargs) # if kwargs else ""
|
||||
text += str(kwargs) # if kwargs else ""
|
||||
|
||||
if not self.ndb.ev_channel and self.db.ev_channel:
|
||||
# cache channel lookup
|
||||
|
|
|
|||
|
|
@ -203,9 +203,7 @@ class IRCBot(irc.IRCClient, Session):
|
|||
kwargs (any): Other data from protocol.
|
||||
|
||||
"""
|
||||
#(cmdname, ((args,), {kwargs}))
|
||||
#("text", ("blah",), {})).
|
||||
self.sessionhandler.data_in(self, bot_data_in=(text), test=test)
|
||||
self.sessionhandler.data_in(self, bot_data_in=[text, kwargs])
|
||||
|
||||
def send_text(self, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue