first commit

This commit is contained in:
adator85
2024-01-02 00:30:02 +01:00
parent a236854eb1
commit a45a99681e
10 changed files with 3096 additions and 0 deletions

26
main.py Normal file
View File

@@ -0,0 +1,26 @@
from core import installation
#############################################
# @Version : 1 #
# Requierements : #
# Python3.10 or higher #
# SQLAlchemy, requests, psutil #
# UnrealIRCD 6.2.2 or higher #
#############################################
#########################
# LANCEMENT DE DEFENDER #
#########################
try:
installation.Install()
from core.irc import Irc
ircInstance = Irc()
ircInstance.init_irc(ircInstance)
except AssertionError as ae:
print(f'Assertion Error -> {ae}')
except KeyboardInterrupt as k:
ircInstance.Base.execute_periodic_action()