mirror of
https://github.com/MrSedan/neuro-reply-bot-reworked.git
synced 2026-01-14 21:49:42 +03:00
feat: started proxy alerts
This commit is contained in:
17
handlers/proxy_commands.py
Normal file
17
handlers/proxy_commands.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from aiogram import Bot
|
||||
|
||||
from handlers.handler import Handler
|
||||
from handlers.message_handlers.proxy.proxy_status_command import \
|
||||
ProxyStatusCallback
|
||||
from handlers.message_handlers.proxy.refresh_proxy_status_command import \
|
||||
RefreshProxyStatusCallback
|
||||
from handlers.message_handlers.proxy.start_command import ProxyStartCommand
|
||||
from neuroapi.types import BotSettings as BotSettingsType
|
||||
|
||||
|
||||
class ProxyCommands(Handler):
|
||||
settings: BotSettingsType
|
||||
def __init__(self, bot: Bot) -> None:
|
||||
super().__init__(bot)
|
||||
self.add_handlers([ProxyStartCommand])
|
||||
self.add_callback_handlers([ProxyStatusCallback, RefreshProxyStatusCallback])
|
||||
Reference in New Issue
Block a user