浏览代码

smol phix

TheHamkerCat 5 年之前
父节点
当前提交
fdfd3c7966
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      wbb/modules/reverse.py

+ 1 - 0
wbb/modules/reverse.py

@@ -31,6 +31,7 @@ async def reverse_image_search(_, message):
         if mime_type != "image/png" and mime_type != "image/jpeg":
             await m.edit("Document Mimetype Invalid")
             return
+        file_id = reply.document.file_id
     if reply.sticker:
         if reply.sticker.is_animated:
             if not reply.sticker.thumbs: