Skip to content

Commit

Permalink
Fixed(Reaction_invalid)
Browse files Browse the repository at this point in the history
  • Loading branch information
bishalqx980 committed Jan 2, 2025
1 parent fea4554 commit dbea44f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/functions/owner_func/send.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def func_send(update: Update, context: ContextTypes.DEFAULT_TYPE):
"Returns reaction on message\n"
"Sent - '👍'\n"
"Forbidden - '👎'\n"
"Something went wrong - '⚠️'"
"Something went wrong - '🤷‍♂'"
)
await Message.reply_msg(update, msg)
return
Expand Down Expand Up @@ -68,7 +68,7 @@ async def func_send(update: Update, context: ContextTypes.DEFAULT_TYPE):
sent_msg = await Message.send_doc(victim_id, document.file_id, document.file_name, caption)

if not sent_msg:
reaction = "⚠️"
reaction = "🤷‍♂"
elif sent_msg == Forbidden:
reaction = "👎"
else:
Expand Down

0 comments on commit dbea44f

Please sign in to comment.