feat(withdraw): add user withdrawal flow using CryptoPay
This commit is contained in:
+4
-1
@@ -8,11 +8,14 @@ async def log_admin(bot, admin_id: int, text: str, log_bot=None) -> None:
|
||||
try:
|
||||
target = log_bot or bot
|
||||
await target.send_message(admin_id, text, parse_mode=ParseMode.HTML)
|
||||
|
||||
except Exception as exc:
|
||||
logging.error("log_admin: %s", exc)
|
||||
|
||||
|
||||
async def log_admin_document(bot, admin_id: int, path: str, caption: str | None = None, log_bot=None) -> None:
|
||||
async def log_admin_document(
|
||||
bot, admin_id: int, path: str, caption: str | None = None, log_bot=None
|
||||
) -> None:
|
||||
try:
|
||||
target = log_bot or bot
|
||||
await target.send_document(
|
||||
|
||||
Reference in New Issue
Block a user