mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2025-03-12 21:15:48 +03:00
14 lines
425 B
Python
14 lines
425 B
Python
from aiogram import Dispatcher
|
|
|
|
from .start import start_cmd
|
|
from .web import web_cmd
|
|
from .whois import whois_cmd
|
|
from .icmp import icmp_cmd
|
|
|
|
|
|
def setup(dp: Dispatcher):
|
|
dp.register_message_handler(start_cmd, commands=['start'])
|
|
dp.register_message_handler(web_cmd, commands=['web', 'http'])
|
|
dp.register_message_handler(whois_cmd, commands=['whois'])
|
|
dp.register_message_handler(icmp_cmd, commands=['icmp'])
|