Admin and start handlers work. Added testing txt2img from first bot version (will be replaced soon)
This commit is contained in:
@@ -1 +1,8 @@
|
||||
pass
|
||||
from bot.common import dp, bot
|
||||
from .start import *
|
||||
from .all_messages import *
|
||||
|
||||
|
||||
def register():
|
||||
dp.register_message_handler(all_messages.sync_db_filter, lambda *_: not hasattr(bot, 'cloudmeta_message_text'))
|
||||
dp.register_message_handler(start.start_command, commands='start')
|
||||
|
||||
Reference in New Issue
Block a user