mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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
|
||||
global _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
|
||||
configdict = {"uid": self.dbid}
|
||||
_SESSIONS.start_bot_session(self.factory_path, configdict)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue