From a2178cfbe24a8196679d711dce1b8a787fc1614e Mon Sep 17 00:00:00 2001 From: Wendy Wang Date: Wed, 18 Jan 2023 22:59:00 +0100 Subject: [PATCH] Close color code in string to avoid color bleed, update legacy SESSIONS reference to SESSIONS_HANDLER --- evennia/accounts/bots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/accounts/bots.py b/evennia/accounts/bots.py index 7fec46fb81..97ef98134d 100644 --- a/evennia/accounts/bots.py +++ b/evennia/accounts/bots.py @@ -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)