Bläddra i källkod

Reply to reported message (#91)

ÁÑÑÍHÌLÅTØR SPÄRK 5 år sedan
förälder
incheckning
f4ceb5817e
1 ändrade filer med 1 tillägg och 1 borttagningar
  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)