Feat: minimal configuration

This commit is contained in:
2024-12-26 13:39:26 +03:00
parent 3e81929747
commit dae0df1a63
8 changed files with 73 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
from aiogram import types
from aiogram.filters import Command
from nwxraybot.meta import Handler
class HelloHandler(Handler):
def __init__(self, bot) -> None:
super().__init__(bot)
@self.router.message(Command("start"))
async def hello(message: types.Message):
await message.reply("Приветствуем в боте NwXray! Здесь вы сможете получить информацию о своем подключении к NwXray")