Akshay Rajput hace 4 años
padre
commit
655e4e9fa4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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"]