mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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.
|
||||
|
||||
"""
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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}),...}`
|
||||
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue