mirror of
https://github.com/Redume/Shirino.git
synced 2025-05-19 10:15:26 +01:00
chore: the link in the post has been replaced with a button
This commit is contained in:
parent
210c60552f
commit
1ae3ec9aec
1 changed files with 13 additions and 3 deletions
|
@ -8,11 +8,21 @@ router = Router()
|
|||
@router.message(CommandStart())
|
||||
async def start(message: types.Message) -> None:
|
||||
get_bot = await bot.get_me()
|
||||
|
||||
keyboard = types.InlineKeyboardMarkup(inline_keyboard=[
|
||||
[
|
||||
types.InlineKeyboardButton(
|
||||
text="Source Code",
|
||||
url="https://github.com/redume/shirino"
|
||||
)
|
||||
]
|
||||
])
|
||||
|
||||
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'
|
||||
f'`@{get_bot.username} 12 USD RUB` \n\n',
|
||||
parse_mode='markdown',
|
||||
reply_markup=keyboard
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue