Added donate

This commit is contained in:
tema 2023-03-25 23:12:27 +02:00
parent 60298fe66d
commit 2faebd6e93
Signed by: tema
GPG Key ID: 21FDB6D162488F6F
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from aiogram.dispatcher.filters import ChatTypeFilter
from load import dp, bot, config from load import dp, bot, config
from keyboards.inline.keyboard import menu from keyboards.inline.keyboard import menu
from parser import get_about_replacements from parser import get_about_replacements
from keyboards.inline.donate import donate
if config.logging_user: if config.logging_user:
from database import register from database import register
@ -56,6 +57,7 @@ async def get_replace(message: types.Message):
) )
), ),
parse_mode="Markdown", parse_mode="Markdown",
reply_markup=donate
) )
return return
await bot.send_message( await bot.send_message(

View File

@ -0,0 +1,4 @@
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton
donate = InlineKeyboardMarkup()
donate.add(InlineKeyboardButton("", url="https://send.monobank.ua/jar/7nXV3s5Txd"))