Captain Ezio commited on
Commit
454d9e4
·
1 Parent(s): affb278

Update utils.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/utils.py +3 -1
Powers/plugins/utils.py CHANGED
@@ -270,7 +270,9 @@ async def paste_func(_, message: Message):
270
  return await message.reply_text("Only text and documents are supported")
271
 
272
  m = await message.reply_text("Pasting...")
273
-
 
 
274
  if r.text:
275
  content = str(r.text)
276
  if r.document:
 
270
  return await message.reply_text("Only text and documents are supported")
271
 
272
  m = await message.reply_text("Pasting...")
273
+
274
+ r = message.reply_to_message
275
+
276
  if r.text:
277
  content = str(r.text)
278
  if r.document: