yeref 0.29.63__tar.gz → 0.29.65__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.63
3
+ Version: 0.29.65
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.29.63',
5
+ version='0.29.65',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -222,7 +222,7 @@ demo_other3_jpg = 'https://ddejfvww7sqtk.cloudfront.net/user-media/09-06-2025/75
222
222
 
223
223
 
224
224
  # region default
225
- BOT_CBAN_ = '☐☐☑☐☐'
225
+ BOT_CBAN_ = '☐☐☐☐☐'
226
226
  BOT_CTRANSLATE_ = '☐'
227
227
  BOT_CPAY_ = '☐☐☐☐☐'
228
228
  BOT_CINTEGRATION_ = '☐☐'
@@ -251,7 +251,7 @@ UB_VARS_ = '{"UB_PROMO": "#911", "UB_CHANNEL": 0, "UB_CHANNELTID": 0, "UB_GROUP"
251
251
  UB_LSTS_ = '{}'
252
252
 
253
253
  GROUPP_CCHECK_ = '☑☐☐☐☐'
254
- GROUPP_CBAN_ = '☐☐☑☐☐'
254
+ GROUPP_CBAN_ = '☐☐☐☐☐'
255
255
  GROUPP_CDIALOG_ = '☑☑☑'
256
256
 
257
257
  GROUPP_CSYSTEM_ = '☑'
@@ -273,7 +273,7 @@ GROUPP_CUSERDELAY_ = 1
273
273
 
274
274
  CHANNEL_CONFIG_ = '☑☑☑☐☐☐☐'
275
275
  CHANNEL_CCHECK_ = '☑☐☐☐'
276
- CHANNEL_CBAN_ = '☐☐☑☐☐'
276
+ CHANNEL_CBAN_ = '☐☐☐☐☐'
277
277
  CHANNEL_CDECOR_ = '☐☐☐'
278
278
  CHANNEL_CSYSTEM_ = '☑'
279
279
  CHANNEL_CPAY_ = '☐☐☐'
@@ -2586,6 +2586,7 @@ async def db_select_pg(sql, param=None, db_pool=None, db_config=None):
2586
2586
  elif "SELECT NOTICE_ID, NOTICE_TYPE, NOTICE_TXT" in sql: pass
2587
2587
  elif "<= NOW()" in sql: pass
2588
2588
  elif "_LZ FROM" in sql: pass
2589
+ elif "WHERE INVITE_DT" in sql: pass
2589
2590
  elif "GROUPP_CVOTERESTRICT FROM" in sql: pass
2590
2591
  else:
2591
2592
  logger.info(log_ % f"SQL: {sql}, PARAM: {param}")
@@ -13542,6 +13543,7 @@ async def edit_simple2(bot, chat_id, user_id, entity_id, post_id, message_id, cu
13542
13543
  async def is_reason(user_id, user_username, user_full_name, ENT_CBAN):
13543
13544
  result = None
13544
13545
  try:
13546
+ if not ENT_CBAN: return
13545
13547
  new_, nousername_, cas_, symbols_, zalgo_ = list(ENT_CBAN)
13546
13548
 
13547
13549
  if nousername_ == '☑' and not user_username:
@@ -13562,11 +13564,11 @@ async def is_reason(user_id, user_username, user_full_name, ENT_CBAN):
13562
13564
  url = f"https://api.cas.chat/check?user_id={user_id}"
13563
13565
  resp = await client.get(url)
13564
13566
 
13565
- print(f"? JSON: {url}")
13567
+ # print(f"? JSON: {url}")
13566
13568
  if resp.status_code == 200 and resp.headers.get("Content-Type", "").startswith("application/json"):
13567
13569
  data = resp.json()
13568
13570
 
13569
- print(f"? JSON: {data}")
13571
+ # print(f"? JSON: {data}")
13570
13572
  if data.get("ok") is True:
13571
13573
  print(f"✅ JSON: {data}")
13572
13574
  result = f"cas: {url}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.63
3
+ Version: 0.29.65
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes
File without changes