Captain Ezio commited on
Commit
6702f0a
·
1 Parent(s): 74b62cb

Update bans.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/bans.py +1 -1
Powers/plugins/bans.py CHANGED
@@ -802,7 +802,7 @@ async def ban_usr(c: Gojo, m: Message):
802
  ],
803
  ],
804
  )
805
- await m.reply_text(txt, reply_markup=keyboard, reply_to_message_id=r_id)
806
  except ChatAdminRequired:
807
  await m.reply_text(text="I'm not admin or I don't have rights.")
808
  except PeerIdInvalid:
 
802
  ],
803
  ],
804
  )
805
+ await m.reply_animation(animation=BAN_MEDIA, caption=txt, reply_markup=keyboard, reply_to_message_id=r_id)
806
  except ChatAdminRequired:
807
  await m.reply_text(text="I'm not admin or I don't have rights.")
808
  except PeerIdInvalid: