Feat: minimal configuration
This commit is contained in:
13
nwxraybot/handlers/hello.py
Normal file
13
nwxraybot/handlers/hello.py
Normal 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")
|
||||
Reference in New Issue
Block a user