Files
DEFENDER/defender.py
2025-08-21 00:59:13 +02:00

24 lines
713 B
Python

from core import installation
#############################################
# @Version : 6.2 #
# Requierements : #
# Python3.10 or higher #
# SQLAlchemy, requests, psutil #
# unrealircd-rpc-py #
# UnrealIRCD 6.2.2 or higher #
#############################################
try:
installation.Install()
from core.loader import Loader
from core.irc import Irc
ircInstance = Irc(Loader())
ircInstance.init_irc(ircInstance)
except AssertionError as ae:
print(f'Assertion Error -> {ae}')
except KeyboardInterrupt as k:
ircInstance.Base.execute_periodic_action()