Files
TeleDiffusionBot/bot/handlers/txt2img/__init__.py

7 lines
156 B
Python

from bot.common import dp
from .txt2img import txt2img_comand
def register():
dp.register_message_handler(txt2img.txt2img_comand, commands='txt2img')