yeref 0.29.49__py3-none-any.whl → 0.29.51__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/l_.py CHANGED
@@ -5806,7 +5806,7 @@ l_work_msg = {
5806
5806
  'ar': "👩🏽‍💻 <b>ساعات العمل</b> للمجموعة: {0} [التوقيت العالمي: {1}]",
5807
5807
  }
5808
5808
  l_help_handler = {
5809
- "ru": "👩🏽‍💻 <b>Команды</b> пользователя:\n\n/report - сообщить о нарушении\n/happy - получить радость\n/thanks - поблагодарить\n/birthday - поздравить\n/vote - голосовать\n\n👩🏽‍💻 <b>Добавь</b> <i>кѻмментарий</i> после команды если необходимо",
5809
+ "ru": "<blockquote>👩🏽‍💻 <b>Команды</b> пользователя:\n\n/report - сообщить о нарушении\n/happy - получить радость\n/thanks - поблагодарить\n/birthday - поздравить\n/vote - голосовать\n\n👩🏽‍💻 <b>Добавь</b> <i>кѻмментарий</i> после команды если необходимо</blockquote>",
5810
5810
  "en": "👩🏽‍💻 <b>Commands</b> for users:\n\n/rules - group rules\n/report - report a violation\n/happy - get joy\n/thanks - thank\n/birthday - congratulations\n\n👩🏽‍💻 <b>Add</b> <i>a comment</i> after the command if necessary",
5811
5811
  "es": "👩🏽‍💻 <b>Comandos</b> de usuario:\n\n/rules - reglas del grupo\n/report - informar de una infracción\n/happy - obtener alegría\n/thanks - agradecer\n/birthday - felicitación\n\n👩🏽‍💻 <b>Añade</b> <i>un comentario</i> después del comando si es necesario",
5812
5812
  "fr": "👩🏽‍💻 <b>Commandes</b> utilisateur:\n\n/rules - règles du groupe\n/report - signaler une violation\n/happy - recevoir de la joie\n/thanks - remercier\n/birthday - félicitations\n\n👩🏽‍💻 <b>Ajoute</b> <i>un commentaire</i> après la commande si nécessaire",
yeref/yeref.py CHANGED
@@ -232,7 +232,7 @@ BOT_CADMIN_ = '☐☑'
232
232
 
233
233
  BOT_VARS_ = '{"BOT_PROMO": "#911", "BOT_CHANNEL": 0, "BOT_CHANNELTID": 0, "BOT_GROUP": 0, "BOT_GROUPTID": 0, "BOT_CHATGPT": "", "BOT_GEO": 0, "BOT_TZ": "+00:00", "BOT_DT": "", "BOT_LZ": "en", "BOT_LC": "en", "BOT_ISSTARTED": 0, "BOT_ISMENTIONED": 0}'
234
234
  BOT_LSTS_ = '{"BOT_ADMINS": [], "BOT_COMMANDS": ["/start"]}'
235
- USER_VARS_ = '{"USER_TEXT": "", "USER_REACTION": "", "USER_PUSH": "", "USER_EMAIL": "", "USER_PROMO": "", "USER_CONTACT": "", "USER_GEO": "", "USER_UTM": "", "USER_ID": 0, "USER_DT": "", "USER_TZ": "+00:00", "USER_LC": "en", "USER_LZ": "en", "USER_ISADMIN": 0, "USER_ISBLOG": 0, "USER_ISPREMIUM": 0, "USER_BALL": 0, "USER_RAND": 0, "USER_QUIZ": 0, "USER_TASK": 0, "USER_DICE": 0, "MSGID_PAID": 0, "DATE_TIME": 0}'
235
+ USER_VARS_ = '{"USER_TEXT": "", "USER_REACTION": "", "USER_PUSH": "", "USER_EMAIL": "", "USER_PROMO": "", "USER_CONTACT": "", "USER_GEO": "", "USER_UTM": "", "USER_ID": 0, "USER_DT": "", "USER_TZ": "+00:00", "USER_LC": "en", "USER_LZ": "en", "USER_ISADMIN": 0, "USER_ISBLOG": 0, "USER_ISPREMIUM": 0, "USER_BALL": 0, "USER_RAND": 0, "USER_QUIZ": 0, "USER_TASK": 0, "USER_DICE": 0, "USER_KARMA": 0, "MSGID_PAID": 0, "DATE_TIME": 0}'
236
236
  USER_LSTS_ = '{"USER_UTMREF": [], "USER_PAYMENTS": [], "USER_TXS": [], "USER_DAU": [], "USER_MAU": [], "USER_STATUSES": [], "USER_TEXTS": [], "USER_LIMITS": {}}'
237
237
 
238
238
  UB_CONFIG_ = '☑☑☑☐☐☑☑☐☐☐☐☐☐'
@@ -7934,6 +7934,7 @@ async def upd_user_data(ENT_TID, data, web_app_init_data, PROJECT_USERNAME, BASE
7934
7934
  USER_GAMES = json.loads(USER_GAMES)
7935
7935
  USER_VARS = json.loads(USER_VARS)
7936
7936
  USER_LSTS = json.loads(USER_LSTS)
7937
+ print(f"isode {USER_VARS=}")
7937
7938
  if page in ['msg', 'pst']: USER_GAMES = await ch_games(USER_GAMES, 'web', True, balls)
7938
7939
  if not USER_LZ:
7939
7940
  USER_VARS['USER_LC'] = lc
@@ -7961,6 +7962,7 @@ async def upd_user_data(ENT_TID, data, web_app_init_data, PROJECT_USERNAME, BASE
7961
7962
  if req_url: USER_VARS['USER_UTM'] = req_url
7962
7963
  if not USER_HID: USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
7963
7964
 
7965
+ print(f"out {USER_VARS=}")
7964
7966
  USER_LSTS["USER_DAU"] = list(set(USER_LSTS.get("USER_DAU", []) + [now_.strftime('%Y-%m-%d')]))
7965
7967
  USER_LSTS["USER_MAU"] = list(set(USER_LSTS.get("USER_MAU", []) + [now_.strftime('%Y-%m')]))
7966
7968
  USER_VARS['USER_SIG'] = usr_sig
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.49
3
+ Version: 0.29.51
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=kvHD8u1q-oFdFn482YCR4u160sT0YbVxS947hafK2C8,656413
3
+ yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
+ yeref/yeref.py,sha256=Mzde1Aq1yJCHRIjT9TeeXDLU5aXL3rQoSR6MFWFIcoQ,1048001
5
+ yeref-0.29.51.dist-info/METADATA,sha256=wzk-XrCybufYrBsN8LRF5FFKrLGIFBrF9nPhgssLGi8,119
6
+ yeref-0.29.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ yeref-0.29.51.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
+ yeref-0.29.51.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
2
- yeref/l_.py,sha256=aYNrFP1sFKzz5DMu_5LfUdDqT7rHJYskEXD3z1s46kE,656388
3
- yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
4
- yeref/yeref.py,sha256=e8XPcvC20vaVvn0cpb0xGpLNBPt0yCX4hBYjW71JAXU,1047908
5
- yeref-0.29.49.dist-info/METADATA,sha256=aKF9CCfwHHghv8fNG6N3w_eaZmahNhOg4vqvIP7HnA8,119
6
- yeref-0.29.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- yeref-0.29.49.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
8
- yeref-0.29.49.dist-info/RECORD,,