mirror of
https://github.com/Redume/Shirino.git
synced 2025-05-19 10:15:26 +01:00
17 lines
550 B
Python
17 lines
550 B
Python
from aiogram import CommandStart, types, Router
|
|
|
|
from main 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'
|
|
)
|