diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py
index 2728a888..41200e8d 100644
--- a/misskaty/plugins/dev.py
+++ b/misskaty/plugins/dev.py
@@ -126,12 +126,11 @@ async def log_file(_, ctx: Message, strings):
@app.on_message(filters.command(["donate"], COMMAND_HANDLER))
async def donate(self: Client, ctx: Message):
- with contextlib.suppress(ReactionInvalid):
- await ctx.react(emoji="❤️")
try:
await ctx.reply_photo(
"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",
+ message_effect_id=5159385139981059251 if ctx.chat.type.value == "private" else None
)
except (ChatSendPlainForbidden, ChatSendPhotosForbidden):
await self.send_message(LOG_CHANNEL, f"❗️ WARNING\nI'm leaving from {ctx.chat.id} since i didn't have sufficient admin permissions.")
diff --git a/misskaty/plugins/start_help.py b/misskaty/plugins/start_help.py
index 09f82cd2..bd7c89f5 100644
--- a/misskaty/plugins/start_help.py
+++ b/misskaty/plugins/start_help.py
@@ -104,30 +104,34 @@ async def start(_, ctx: Message, strings):
strings("help_name").format(mod=HELPABLE[module].__MODULE__)
+ HELPABLE[module].__HELP__
)
- await ctx.reply_msg(text, disable_web_page_preview=True)
+ await ctx.reply_msg(text, disable_web_page_preview=True, message_effect_id=5104841245755180586)
if module == "federation":
return await ctx.reply(
text=text,
reply_markup=FED_MARKUP,
disable_web_page_preview=True,
+ message_effect_id=5104841245755180586
)
await ctx.reply(
text,
reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton("back", callback_data="help_back")]]
),
- disable_web_page_preview=True)
+ disable_web_page_preview=True,
+ message_effect_id=5104841245755180586)
elif name == "help":
text, keyb = await help_parser(ctx.from_user.first_name)
await ctx.reply_msg(
text,
reply_markup=keyb,
+ message_effect_id=5104841245755180586
)
else:
await ctx.reply_photo(
photo="https://img.yasirweb.eu.org/file/90e9a448bc2f8b055b762.jpg",
caption=home_text_pm,
reply_markup=home_keyboard_pm,
+ message_effect_id=5104841245755180586
)
@@ -138,6 +142,7 @@ async def commands_callbacc(_, cb: CallbackQuery):
cb.message.chat.id,
text=text,
reply_markup=keyb,
+ message_effect_id=5104841245755180586
)
await cb.message.delete_msg()
@@ -180,18 +185,19 @@ async def help_command(_, ctx: Message, strings):
strings("help_name").format(mod=HELPABLE[name].__MODULE__)
+ HELPABLE[name].__HELP__
)
- await ctx.reply_msg(text, disable_web_page_preview=True)
+ await ctx.reply_msg(text, disable_web_page_preview=True, message_effect_id=5104841245755180586)
else:
text, help_keyboard = await help_parser(ctx.from_user.first_name)
await ctx.reply_msg(
text,
reply_markup=help_keyboard,
disable_web_page_preview=True,
+ message_effect_id=5104841245755180586
)
else:
text, help_keyboard = await help_parser(ctx.from_user.first_name)
await ctx.reply_msg(
- text, reply_markup=help_keyboard, disable_web_page_preview=True
+ text, reply_markup=help_keyboard, disable_web_page_preview=True, message_effect_id=5104841245755180586
)