mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Continued work on the bots.
This commit is contained in:
parent
54586d0261
commit
2ae5d56928
3 changed files with 15 additions and 12 deletions
|
|
@ -259,7 +259,7 @@ class ServerSessionHandler(SessionHandler):
|
|||
|
||||
# server-side access methods
|
||||
|
||||
def start_bot_session(self, protocol_path, uid):
|
||||
def start_bot_session(self, protocol_path, uid, configdict):
|
||||
"""
|
||||
This method allows the server-side to force the Portal to create
|
||||
a new bot session using the protocol specified by protocol_path,
|
||||
|
|
@ -271,7 +271,8 @@ class ServerSessionHandler(SessionHandler):
|
|||
Server.
|
||||
"""
|
||||
data = {"protocol_path":protocol_path,
|
||||
"uid":uid}
|
||||
"uid":uid,
|
||||
"config":configdict}
|
||||
self.server.amp_protocol.call_remote_PortalAdmin(0,
|
||||
operation=SCONN,
|
||||
data=data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue