Explorar o código

Reply to reported message (#91)

ÁÑÑÍHÌLÅTØR SPÄRK %!s(int64=5) %!d(string=hai) anos
pai
achega
f4ceb5817e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)