yeref 0.24.37__tar.gz → 0.24.39__tar.gz
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-0.24.37 → yeref-0.24.39}/PKG-INFO +1 -1
- {yeref-0.24.37 → yeref-0.24.39}/setup.py +1 -1
- {yeref-0.24.37 → yeref-0.24.39}/yeref/yeref.py +5 -4
- {yeref-0.24.37 → yeref-0.24.39}/yeref.egg-info/PKG-INFO +1 -1
- {yeref-0.24.37 → yeref-0.24.39}/pyproject.toml +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/setup.cfg +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref/__init__.py +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref/l_.py +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref/tonweb.js +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref.egg-info/SOURCES.txt +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref.egg-info/dependency_links.txt +0 -0
- {yeref-0.24.37 → yeref-0.24.39}/yeref.egg-info/top_level.txt +0 -0
@@ -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
|
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")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|