Captain Ezio commited on
Commit
fb9f9eb
·
1 Parent(s): 78c3748
Files changed (1) hide show
  1. Powers/plugins/utils.py +1 -3
Powers/plugins/utils.py CHANGED
@@ -297,9 +297,7 @@ async def paste_func(_, message: Message):
297
  await m.delete()
298
  await message.reply_text("Here's your paste", reply_markup=InlineKeyboardMarkup(kb))
299
  except Exception:
300
- if link:
301
- return await message.reply_text(f"Here's your paste:\n [link]({link})",)
302
- return
303
 
304
 
305
  @Gojo.on_message(command("tr"))
 
297
  await m.delete()
298
  await message.reply_text("Here's your paste", reply_markup=InlineKeyboardMarkup(kb))
299
  except Exception:
300
+ return await message.reply_text(f"Here's your paste:\n [link]({link})",)
 
 
301
 
302
 
303
  @Gojo.on_message(command("tr"))