randydev commited on
Commit
a330d96
·
verified ·
1 Parent(s): 9aa53e7

Update Akeno/plugins/whsiper.py

Browse files
Files changed (1) hide show
  1. Akeno/plugins/whsiper.py +1 -1
Akeno/plugins/whsiper.py CHANGED
@@ -44,7 +44,7 @@ async def whsiperto(client: Client, message: Message):
44
  return await pro.edit_text("Please reply to message voice.")
45
  try:
46
  reply_message = message.reply_to_message
47
- if not reply_message.voice and reply_message.audio:
48
  return await pro.edit_text("Why dick?.")
49
  file_lol = await reply_message.download()
50
  response = await whsiperhack(file_lol)
 
44
  return await pro.edit_text("Please reply to message voice.")
45
  try:
46
  reply_message = message.reply_to_message
47
+ if not (reply_message.voice or reply_message.audio):
48
  return await pro.edit_text("Why dick?.")
49
  file_lol = await reply_message.download()
50
  response = await whsiperhack(file_lol)