mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
33 lines
861 B
Python
33 lines
861 B
Python
from core import installation
|
|
|
|
#############################################
|
|
# @Version : 1 #
|
|
# Requierements : #
|
|
# Python3.10 or higher #
|
|
# SQLAlchemy, requests, psutil #
|
|
# UnrealIRCD 6.2.2 or higher #
|
|
#############################################
|
|
|
|
#########################
|
|
# LANCEMENT DE DEFENDER #
|
|
#########################
|
|
|
|
# 1. Chargement de la configuration
|
|
# 2. Chargement de l'ensemble des classes
|
|
# 3.
|
|
#
|
|
|
|
try:
|
|
|
|
# installation.Install()
|
|
|
|
from core.loader import Loader
|
|
from core.irc import Irc
|
|
loader = Loader()
|
|
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() |