yeref 0.25.40__py3-none-any.whl → 0.25.42__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
@@ -9174,6 +9174,14 @@ async def pay_handler_for_all(bot, message, ideas_en, ideas_ru, PROJECT_USERNAME
|
|
9174
9174
|
'DT_END': DT_END,
|
9175
9175
|
'AMOUNT': total_amount
|
9176
9176
|
})
|
9177
|
+
elif payload == 'list':
|
9178
|
+
USER_PAYMENTS.append({
|
9179
|
+
'TYPE': 'LST',
|
9180
|
+
'LOAD': payload,
|
9181
|
+
'DT_START': DT_START,
|
9182
|
+
'DT_END': DT_END,
|
9183
|
+
'AMOUNT': total_amount
|
9184
|
+
})
|
9177
9185
|
elif payload in ['material']:
|
9178
9186
|
USER_PAYMENTS.append({
|
9179
9187
|
'TYPE': 'MAT',
|
@@ -9270,6 +9278,11 @@ async def list_star_invoice_link(bot, PROJECT_USERNAME, PROJECT_TYPE):
|
|
9270
9278
|
r_ = await star_invoice_link(bot, PROJECT_USERNAME, chat_id, stars, payload)
|
9271
9279
|
print(f"star_invoice_link_{stars} = '{r_}'")
|
9272
9280
|
|
9281
|
+
stars = 1
|
9282
|
+
payload = 'list'
|
9283
|
+
r_ = await star_invoice_link(bot, PROJECT_USERNAME, chat_id, stars, payload)
|
9284
|
+
print(f"star_invoice_list_{stars} = '{r_}'")
|
9285
|
+
|
9273
9286
|
stars = 10
|
9274
9287
|
payload = 'donate'
|
9275
9288
|
r_ = await star_invoice_link(bot, PROJECT_USERNAME, chat_id, stars, payload)
|
@@ -17755,7 +17768,7 @@ async def correct_link(link):
|
|
17755
17768
|
|
17756
17769
|
if '@' in link and '/' in link: link = link[:link.index('/')]
|
17757
17770
|
link = str(link).rstrip('/').rstrip('.').rstrip(':').strip()
|
17758
|
-
result = None if '@None'
|
17771
|
+
result = None if link in ['@None', '@'] else link
|
17759
17772
|
except Exception as e:
|
17760
17773
|
logger.info(log_ % str(e))
|
17761
17774
|
await asyncio.sleep(round(random.uniform(1, 2), 2))
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=bkHakU9Kj3xcKBchne9zwoq2jr037N78bqq4nE9PfpA,1120030
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=2lCbi8KmtPoWLM86DmmVkYObGbb-UiHnx17Fje0RCo8,1025139
|
5
|
+
yeref-0.25.42.dist-info/METADATA,sha256=ytET4V90oQYQkD6lkGprZkWbv8H03evpWDjRNW9W17w,119
|
6
|
+
yeref-0.25.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.25.42.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.25.42.dist-info/RECORD,,
|
yeref-0.25.40.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=bkHakU9Kj3xcKBchne9zwoq2jr037N78bqq4nE9PfpA,1120030
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=1nrBigsbgQDOMhWJ3V_0i5eZNlwk1dByWo4Ckqw9bZA,1024693
|
5
|
-
yeref-0.25.40.dist-info/METADATA,sha256=bj8nGm44il076k0CoGbmqaWK-lKXOmuv8V6MZZcC4NA,119
|
6
|
-
yeref-0.25.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.25.40.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.25.40.dist-info/RECORD,,
|
File without changes
|
File without changes
|