Add section comments

This commit is contained in:
hedy 2024-04-06 04:34:09 +00:00
parent 2f9955e601
commit 60e9c57f4e
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,8 @@ import ircrobots.server as S
import config as cfg
## LOGGING ##
f_log = open(cfg.log_file, "w+")
def log(msg: str, also_print: bool = False):
@ -24,6 +26,12 @@ def log(msg: str, also_print: bool = False):
def manual_log(msg: str, *args, **kwargs):
log(f"[MANUAL] {msg}", *args, **kwargs)
## UTILS ##
# Coming soon
## BOT ##
class Server(Ir.Server):
# overwrite connect so i can put try except blocks there