Shirino/commands/start.py
2025-05-15 15:03:21 +03:00

18 lines
576 B
Python

from aiogram import types, Router
from aiogram.filters import CommandStart
from bot import bot
router = Router()
@router.message(CommandStart())
async def start(message: types.Message) -> None:
get_bot = await bot.get_me()
await message.reply(
'Shirino is a telegram bot for converting fiat or cryptocurrency. '
'The example of use occurs via inline query:\n'
f'`@{get_bot.username} USD RUB` \n'
f'`@{get_bot.username} 12 USD RUB` \n\n'
'[Source Code](https://github.com/Redume/Shirino)',
parse_mode='markdown'
)