Close color code in string to avoid color bleed, update legacy SESSIONS reference to SESSIONS_HANDLER
This commit is contained in:
parent
54f21bd665
commit
a2178cfbe2
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class DiscordBot(Bot):
|
||||||
# connect
|
# connect
|
||||||
global _SESSIONS
|
global _SESSIONS
|
||||||
if not _SESSIONS:
|
if not _SESSIONS:
|
||||||
from evennia.server.sessionhandler import SESSIONS as _SESSIONS
|
from evennia.server.sessionhandler import SESSION_HANDLER as _SESSIONS
|
||||||
# these will be made available as properties on the protocol factory
|
# these will be made available as properties on the protocol factory
|
||||||
configdict = {"uid": self.dbid}
|
configdict = {"uid": self.dbid}
|
||||||
_SESSIONS.start_bot_session(self.factory_path, configdict)
|
_SESSIONS.start_bot_session(self.factory_path, configdict)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue