From 6f449bc98cb938109ed6cad52263e4c6301fb870 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Mon, 29 Jul 2024 17:30:47 +0700 Subject: [PATCH] Temp fix wait lib for update --- misskaty/plugins/dev.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index c43ebb2f..f689b610 100644 --- a/misskaty/plugins/dev.py +++ b/misskaty/plugins/dev.py @@ -127,9 +127,11 @@ async def log_file(_, ctx: Message, strings): @app.on_message(filters.command(["donate"], COMMAND_HANDLER)) async def donate(self: Client, ctx: Message): try: - await ctx.reply_photo( + await self.send_photo( + ctx.chat.id, "https://img.yasirweb.eu.org/file/ee74ce527fb8264b54691.jpg", caption="Hi, If you find this bot useful, you can make a donation to the account below. Because this bot server uses VPS and is not free. Thank You..\n\nIndonesian Payment:\nQRIS: https://img.yasirweb.eu.org/file/ee74ce527fb8264b54691.jpg (Yasir Store)\nBank Jago: 109641845083 (Yasir Aris M)\n\nFor international people can use PayPal to support me or via GitHub Sponsor:\nhttps://paypal.me/yasirarism\nhttps://github.com/sponsors/yasirarism\n\nSource: @BeriKopi", + reply_to_message_id=ctx.id, message_effect_id=5159385139981059251 if ctx.chat.type.value == "private" else None ) except (ChatSendPlainForbidden, ChatSendPhotosForbidden):