Akshay Rajput 4 anni fa
parent
commit
655e4e9fa4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      wbb/utils/pastebin.py

+ 2 - 2
wbb/utils/pastebin.py

@@ -27,7 +27,7 @@ BASE = "https://batbin.me/"
 
 
 async def paste(content: str):
-    resp = await post(f"{BASE}api/paste", data={"content": content})
-    if not resp["status"]:
+    resp = await post(f"{BASE}api/v2/paste", data=content)
+    if not resp["success"]:
         return
     return BASE + resp["message"]