Captain Ezio commited on
Commit
ef92853
·
1 Parent(s): e12ed28

Update utils.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/utils.py +1 -1
Powers/plugins/utils.py CHANGED
@@ -255,7 +255,7 @@ async def paste(content: str):
255
  resp = await post(f"{BASE}api/v2/paste", data=content)
256
  if not resp["success"]:
257
  return
258
- return BASE + resp["id"]
259
 
260
 
261
  @Gojo.on_message(command("paste"))
 
255
  resp = await post(f"{BASE}api/v2/paste", data=content)
256
  if not resp["success"]:
257
  return
258
+ return BASE + resp["message"]
259
 
260
 
261
  @Gojo.on_message(command("paste"))