Spaces:
Running
Running
Captain Ezio
commited on
Commit
·
53eaca2
1
Parent(s):
d0b1f31
...
Browse files- Powers/plugins/utils.py +3 -2
Powers/plugins/utils.py
CHANGED
@@ -332,11 +332,12 @@ async def paste_func(_, message: Message):
|
|
332 |
content = fdata
|
333 |
|
334 |
remove(doc)
|
335 |
-
try:
|
336 |
link = paste(content)
|
337 |
except Exception as e:
|
338 |
await m.edit_text(e)
|
339 |
-
return
|
|
|
340 |
if not link:
|
341 |
await m.edit_text("Failed to post!")
|
342 |
return
|
|
|
332 |
content = fdata
|
333 |
|
334 |
remove(doc)
|
335 |
+
'''try:
|
336 |
link = paste(content)
|
337 |
except Exception as e:
|
338 |
await m.edit_text(e)
|
339 |
+
return'''
|
340 |
+
link = paste(content)
|
341 |
if not link:
|
342 |
await m.edit_text("Failed to post!")
|
343 |
return
|