mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 Fix issue of incorrect parameters being passed when calling add_delete_message_job
This commit is contained in:
parent
499efa778f
commit
46176ad875
@ -157,7 +157,7 @@ class BirthdayPlugin(Plugin):
|
|||||||
reply_markup=InlineKeyboardMarkup(buttons),
|
reply_markup=InlineKeyboardMarkup(buttons),
|
||||||
parse_mode=ParseMode.HTML,
|
parse_mode=ParseMode.HTML,
|
||||||
)
|
)
|
||||||
self.add_delete_message_job(reply_msg.chat_id, delay=30)
|
self.add_delete_message_job(reply_msg, delay=30)
|
||||||
self.add_delete_message_job(message, delay=30)
|
self.add_delete_message_job(message, delay=30)
|
||||||
else:
|
else:
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
|
Loading…
Reference in New Issue
Block a user