Skip to content

Commit b3875bb

Browse files
committed
Whoops
1 parent 3f9b824 commit b3875bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def __init__(self):
7373
self.metadata_loop = None
7474
self.formatter = SafeFormatter()
7575
self.loaded_cogs = ["cogs.modmail", "cogs.plugins", "cogs.utility"]
76-
self.log_file_name = os.path.join(temp_dir, f"{self.token.split('.')[0]}.log")
7776
self._connected = asyncio.Event()
7877
self.start_time = datetime.utcnow()
7978

@@ -82,6 +81,7 @@ def __init__(self):
8281

8382
self.threads = ThreadManager(self)
8483

84+
self.log_file_name = os.path.join(temp_dir, f"{self.token.split('.')[0]}.log")
8585
self._configure_logging()
8686

8787
mongo_uri = self.config["mongo_uri"]

0 commit comments

Comments
 (0)