succ.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import random
  2. from pyrogram.types import Message
  3. from pyrogram import filters
  4. from wbb import app
  5. from wbb.utils import cust_filter
  6. __MODULE__ = "Succ"
  7. __HELP__ = "/succ - Sends Succ Image For A Given Argument"
  8. hack = ['https://i.ibb.co/YLLhCtt/i.png', 'https://i.ibb.co/DMzyLMZ/e.jpg',
  9. 'https://i.ibb.co/sqngHGt/d.jpg', 'https://i.ibb.co/b1Y1rGf/a.jpg']
  10. kemeest = "'https://i.ibb.co/bB4pqNN/i.jpg'"
  11. educ = "'https://i.ibb.co/LCB3yTX/q.jpg'"
  12. health = "'https://i.ibb.co/TKHxkH4/m.jpg'"
  13. nhealth = "'https://i.ibb.co/dBVBzJY/p.jpg'"
  14. feminism = "'https://i.ibb.co/PNhPJR1/o.jpg'"
  15. security = "'https://i.ibb.co/ctf3MGM/c.jpg'"
  16. def suck(text):
  17. socc = {'komidi': 'message.reply_photo("https://i.ibb.co/mRL3Nnf/j.jpg")',
  18. 'kemist': f'message.reply_photo({kemeest})',
  19. 'ejucation': f'message.reply_photo({educ})',
  20. 'helth': f'message.reply_photo({health})',
  21. 'nothelth': f'message.reply_photo({nhealth})',
  22. 'femnnism': f'message.reply_photo({feminism})',
  23. 'tehc': 'message.reply_photo("https://i.ibb.co/gdSvHSr/n.jpg")',
  24. 'stonks': 'message.reply_photo("https://i.ibb.co/TtZ144x/h.png")',
  25. 'sekuriti': f'message.reply_photo({security})',
  26. 'enjenir': 'message.reply_photo("https://i.ibb.co/8DP8LBx/b.jpg")',
  27. 'phijiks': 'message.reply_photo("https://i.ibb.co/Zz4wBnc/g.png")',
  28. 'welth': 'message.reply_photo("https://i.ibb.co/JxFm4pW/k.jpg")',
  29. 'smrt': 'message.reply_photo("https://i.ibb.co/7bVkyC7/l.jpg")',
  30. 'hacc': 'message.reply_photo(random.choice(hack))'}
  31. return socc.get(text)
  32. @app.on_message(cust_filter.command(commands=("succ")) & ~filters.edited)
  33. def succ(_, message: Message):
  34. result = suck(message.text.replace('/succ ', ''))
  35. print(result)
  36. if result is None:
  37. message.reply_text('''"/succ" Needs And Argument
  38. Args - `komidi, kemist, ejucation, helth, nothelth,
  39. femnnism, tehc, hacc, stonks, sekuriti, enjenir,
  40. phijiks, welth, smrt`''')
  41. print(random)
  42. exec(result)