소스 검색

Pastebin fix

Akshay Rajput 4 년 전
부모
커밋
655e4e9fa4
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  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"]