瀏覽代碼

not again

TheHamkerCat 5 年之前
父節點
當前提交
4eed11f02b
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      wbb/utils/json_prettify.py

+ 2 - 1
wbb/utils/json_prettify.py

@@ -2,7 +2,8 @@ async def json_object_prettify(objecc):
     dicc = objecc.__dict__
     output = ""
     for key , value in dicc.items():
-        if key == "pinned_message" or key == "photo" or key == "_":
+        if key == "pinned_message" or key == "photo" \
+                or key == "_" or key == "_client":
             continue
         output += f"**{key}:** `{value}`\n"
     return output