Merge pull request #3089 from Machine-Garden-MUD/main

Close color code in string to avoid color bleed [tiny fix]
This commit is contained in:
Griatch 2023-01-23 21:18:11 +01:00 committed by GitHub
commit 453737f8bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)