yeref 0.24.37__py3-none-any.whl → 0.24.39__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
yeref/yeref.py CHANGED
@@ -122,8 +122,8 @@ from yeref.l_ import l_inline_demo, l_inline_bot, l_inline_post, l_inline_media,
122
122
  l_web_version, l_payment_of_post, l_payment_check_token, l_podcast_start, l_chn_no_rights_for_media, \
123
123
  l_refund_title, l_refund_already_done, l_refund_success, l_refund_incorrect, \
124
124
  l_tools_has_restricted, l_bot_need_start_add, l_chn_need_boost_for_story, l_bot_need_restart_extra_bot, \
125
- l_bot_pub_with_payment
126
-
125
+ l_bot_pub_with_payment, l_sub_to_private_channel, l_payment_6_months, l_payment_1_months, l_material, \
126
+ l_payment_success, l_payment_hashtag
127
127
 
128
128
  # region group links
129
129
  payment_link = 'http://bagazhznaniy.ru/wp-content/uploads/2014/03/zhivaya-priroda.jpg'
@@ -15374,7 +15374,7 @@ async def check_sub_pay(chat_id, lz, BOT_TOKEN_E18B, BASE_D):
15374
15374
  return is_paid, till_paid
15375
15375
 
15376
15376
 
15377
- async def pay_handler(bot, message, ideas_en, ideas_ru, PROJECT_USERNAME, EXTRA_D, BASE_P):
15377
+ async def pay_handler_for_all(bot, message, ideas_en, ideas_ru, PROJECT_USERNAME, EXTRA_D, BASE_P):
15378
15378
  try:
15379
15379
  successful_payment_data = {k: v for k, v in message.successful_payment.model_dump().items() if v is not None}
15380
15380
  print(f"successful_payment {successful_payment_data}")
@@ -15963,9 +15963,10 @@ async def return_view_metrics(bot, PROJECT_USERNAME, EXTRA_D, BASE_P):
15963
15963
  USER_DAU = USER_LSTS.get("USER_DAU", [])
15964
15964
  USER_MAU = USER_LSTS.get("USER_MAU", [])
15965
15965
  USER_TXS = USER_LSTS.get("USER_TXS", [])
15966
+ USER_STATUSES = USER_LSTS.get("USER_STATUSES", [])
15966
15967
 
15967
15968
  if USER_WALLET: wallets_set.add(USER_WALLET)
15968
- users_set.add(USER_TID)
15969
+ if not len(USER_STATUSES): users_set.add(USER_TID)
15969
15970
 
15970
15971
  for day_str in USER_DAU:
15971
15972
  dt_day = datetime.strptime(day_str, "%Y-%m-%d")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.24.37
3
+ Version: 0.24.39
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -0,0 +1,8 @@
1
+ yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
+ yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
3
+ yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
+ yeref/yeref.py,sha256=Rnf2PYAzIKkNjxxqYEqfbfF7K1P0kSaWzvJW-IkdHk8,1031474
5
+ yeref-0.24.39.dist-info/METADATA,sha256=SGyURuN9EOuBHLA5wnm45Vzae8eJIwLiSSS_1MaRwsU,119
6
+ yeref-0.24.39.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ yeref-0.24.39.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
+ yeref-0.24.39.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
- yeref/l_.py,sha256=LMX_olmJwq-tgoALJCnhV_fGrL_i_43yBLkLIcEVqGo,1176743
3
- yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
- yeref/yeref.py,sha256=GNduseJKtIFyUf2MZZEMjkGfolzPGBDmVdc_VS6DGU4,1031251
5
- yeref-0.24.37.dist-info/METADATA,sha256=4ZLnS9OGklI7mTkKxrwBXOGkbCh4fWezq8dgSnY9Ev4,119
6
- yeref-0.24.37.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- yeref-0.24.37.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
- yeref-0.24.37.dist-info/RECORD,,