Add section comments
This commit is contained in:
parent
2f9955e601
commit
60e9c57f4e
8
main.py
8
main.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue