Pārlūkot izejas kodu

Reply to reported message (#91)

ÁÑÑÍHÌLÅTØR SPÄRK 5 gadi atpakaļ
vecāks
revīzija
f4ceb5817e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      wbb/modules/admin.py

+ 1 - 1
wbb/modules/admin.py

@@ -625,4 +625,4 @@ async def report_user(_, message):
     text = f"Reported {user_mention} to admins."
     for admin in list_of_admins:
         text += f"[\u2063](tg://user?id={admin})"
-    await message.reply_text(text)
+    await message.reply_to_message.reply_text(text)