Created modules and organized code

This commit is contained in:
2025-05-23 00:06:26 +02:00
parent 020b5e0193
commit 3088a75a7d
17 changed files with 340 additions and 248 deletions

18
handlers/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
from .access import requestaccess, grantaccess
from .credentials import setcredentials
from .gates import opengate, open_gate_menu, handle_gate_open_callback
from .main import handle_main_menu_callback, post_init, start
from .users import updateuser
__all__ = [
"grantaccess",
"handle_main_menu_callback",
"handle_gate_open_callback",
"opengate",
"open_gate_menu",
"post_init",
"requestaccess",
"setcredentials",
"start",
"updateuser"
]