Admin and start handlers work. Added testing txt2img from first bot version (will be replaced soon)

This commit is contained in:
BarsTiger
2023-02-14 13:49:58 +02:00
parent 7ba5482e6a
commit dcdb4ef60d
20 changed files with 234 additions and 19 deletions

View File

@@ -2,10 +2,13 @@ from rich import print
def import_handlers():
import bot.handlers.help.help
assert bot.handlers.help.help
from bot.handlers import (
initialize, admin, help_command, txt2img
)
import bot.handlers.initialize.pull_db
assert bot.handlers.initialize.pull_db
initialize.register()
admin.register()
help_command.register()
txt2img.register()
print('[gray]All handlers imported[/]')