Added donate #9

Merged
tema merged 1 commits from testing into master 2023-03-26 12:42:47 +03:00
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"))