mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +00:00
Logger fix.
This commit is contained in:
parent
87717aad33
commit
fb390682b5
4 changed files with 1 additions and 23 deletions
2
dist/ba_root/mods/tools/logger.py
vendored
2
dist/ba_root/mods/tools/logger.py
vendored
|
|
@ -37,10 +37,10 @@ class RecentLogs:
|
|||
cmndlog: list[str] = field(default_factory=list)
|
||||
misclogs: list[str] = field(default_factory=list)
|
||||
|
||||
logs = RecentLogs()
|
||||
|
||||
def log(msg: str, mtype: str = "sys") -> None:
|
||||
"""Cache and dumps the log."""
|
||||
logs = RecentLogs()
|
||||
|
||||
if SETTINGS["discordbot"]["enable"]:
|
||||
message = msg.replace("||", "|")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue