Added donate #9
@ -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(
|
||||||
|
4
keyboards/inline/donate.py
Normal file
4
keyboards/inline/donate.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton
|
||||||
|
|
||||||
|
donate = InlineKeyboardMarkup()
|
||||||
|
donate.add(InlineKeyboardButton("☕", url="https://send.monobank.ua/jar/7nXV3s5Txd"))
|
Loading…
Reference in New Issue
Block a user