Files
TeleDiffusionBot/bot/handlers/admin/__init__.py
2023-03-02 20:23:01 +02:00

13 lines
467 B
Python

from bot.common import dp
from .aliases import *
from .reset import *
from .tools import *
def register():
dp.register_message_handler(set_endpoint, commands='setendpoint')
dp.register_message_handler(reset.resetqueue, commands='resetqueue')
dp.register_message_handler(aliases.add_admin, commands='addadmin')
dp.register_message_handler(aliases.remove_admin, commands='rmadmin')
dp.register_message_handler(tools.hash_command, commands='hash')