Skip to content

Commit 5689d39

Browse files
author
Marten (msc)
committed
fixup! [FIX] private chat mention
1 parent c8890d4 commit 5689d39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

summaree_bot/bot/premium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ async def check_premium_features(update: Update, context: ContextTypes.DEFAULT_T
593593

594594
try:
595595
chat_mention_text = update.effective_chat.mention_markdown_v2()
596-
except ValueError:
596+
except TypeError:
597597
chat_mention_text = f"`chat_id: {update.effective_chat.id}` (private)"
598598

599599
if file_size > 10 * 1024 * 1024:

0 commit comments

Comments
 (0)