telegram_libs 0.1.10__py3-none-any.whl → 0.1.11__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.
- telegram_libs/__init__.py +1 -1
- telegram_libs/locales/en.json +1 -1
- telegram_libs/locales/ru.json +1 -1
- telegram_libs/utils.py +3 -0
- {telegram_libs-0.1.10.dist-info → telegram_libs-0.1.11.dist-info}/METADATA +1 -1
- telegram_libs-0.1.11.dist-info/RECORD +12 -0
- telegram_libs-0.1.10.dist-info/RECORD +0 -12
- {telegram_libs-0.1.10.dist-info → telegram_libs-0.1.11.dist-info}/LICENSE +0 -0
- {telegram_libs-0.1.10.dist-info → telegram_libs-0.1.11.dist-info}/WHEEL +0 -0
telegram_libs/__init__.py
CHANGED
telegram_libs/locales/en.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
"info": "Buying a subscription you will get unlimited access to other {0} bots, to see all bots click /more"
|
10
10
|
},
|
11
11
|
"support": {
|
12
|
-
"message": "If you have any questions or need help, please
|
12
|
+
"message": "If you have any questions or need help, please write it now and we will solve your issue as soon as possible.",
|
13
13
|
"response": "Thank you! Our support team will contact you soon."
|
14
14
|
},
|
15
15
|
"feedback": {
|
telegram_libs/locales/ru.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
"info": "Купив подписку, вы получите неограниченный доступ к другим {0} ботам, чтобы увидеть всех ботов, нажмите /more"
|
10
10
|
},
|
11
11
|
"support": {
|
12
|
-
"message": "Если у вас есть вопросы или нужна помощь, пожалуйста,
|
12
|
+
"message": "Если у вас есть вопросы или нужна помощь, пожалуйста, напишите сейчас, и мы решим вашу проблему как можно скорее.",
|
13
13
|
"response": "Спасибо! Наша служба поддержки свяжется с вами в ближайшее время."
|
14
14
|
},
|
15
15
|
"feedback": {
|
telegram_libs/utils.py
CHANGED
@@ -72,6 +72,8 @@ async def handle_support_response(update: Update, context: ContextTypes.DEFAULT_
|
|
72
72
|
"username": update.effective_user.username,
|
73
73
|
"message": update.message.text,
|
74
74
|
"bot_name": bot_name,
|
75
|
+
"timestamp": update.message.date.isoformat(),
|
76
|
+
"resolved": False,
|
75
77
|
}
|
76
78
|
support_collection.insert_one(support_doc)
|
77
79
|
await update.message.reply_text(t("support.response", update.effective_user.language_code, common=True))
|
@@ -96,6 +98,7 @@ async def handle_feedback_response(update: Update, context: ContextTypes.DEFAULT
|
|
96
98
|
"username": update.effective_user.username,
|
97
99
|
"feedback": update.message.text,
|
98
100
|
"bot_name": bot_name,
|
101
|
+
"timestamp": update.message.date.isoformat(),
|
99
102
|
}
|
100
103
|
feedback_collection.insert_one(feedback_doc)
|
101
104
|
await update.message.reply_text(t("feedback.response", update.effective_user.language_code, common=True))
|
@@ -0,0 +1,12 @@
|
|
1
|
+
telegram_libs/__init__.py,sha256=4EFE0ca4i7eVCTGZh7B867iJX5Ftqvks0IGv3XeT9gg,82
|
2
|
+
telegram_libs/constants.py,sha256=F6pgwAuv2FgGZxxFwYYJomM4_hosexLoYsvHXQiuVNg,538
|
3
|
+
telegram_libs/locales/en.json,sha256=kMGNE9ThGbaKH3PwappBGkWRgTupPETTG46zCMU5myk,749
|
4
|
+
telegram_libs/locales/ru.json,sha256=lShsh98seaHRtanmq1IRv8_bgRLieTaq-jHjaoOwS0M,1134
|
5
|
+
telegram_libs/mongo.py,sha256=7UOy_cE0ofIbH7QiiirAjOgo_FM9JImtgxQ8ouEsFeo,245
|
6
|
+
telegram_libs/subscription.py,sha256=d7xmzplUrm1nNlWlkqW6dddOYa3t_7PAM3iPme0K5F0,1690
|
7
|
+
telegram_libs/translation.py,sha256=8Kb2cgqKKZH4X_i2Le0V_K1imZdoaCzYAca831DOBig,2049
|
8
|
+
telegram_libs/utils.py,sha256=5_LKP34GCK9SSJPrPHlc2eRY-_UY1quPlgOH_FgHnaE,4931
|
9
|
+
telegram_libs-0.1.11.dist-info/LICENSE,sha256=ZXkWPZbCc61L29Gz6ZHPwn1c4Pm0TnfIqtx8jGWi9F4,1069
|
10
|
+
telegram_libs-0.1.11.dist-info/METADATA,sha256=USXVZmpW5T-iGgEjI5H3foJ8mkxiLFIY0qNrS_9Vf0Y,804
|
11
|
+
telegram_libs-0.1.11.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
12
|
+
telegram_libs-0.1.11.dist-info/RECORD,,
|
@@ -1,12 +0,0 @@
|
|
1
|
-
telegram_libs/__init__.py,sha256=zJ7P4cSnN9eH2I7zKDtM50HAH0CKHfanZjIjnVeJfZA,82
|
2
|
-
telegram_libs/constants.py,sha256=F6pgwAuv2FgGZxxFwYYJomM4_hosexLoYsvHXQiuVNg,538
|
3
|
-
telegram_libs/locales/en.json,sha256=l9BAvVgBkvKH_kRiAb9md5Ls0Riv9kfGyXEGca6cOk4,732
|
4
|
-
telegram_libs/locales/ru.json,sha256=YwxuBb-OeQKqjASCkNqK_Kr2V_wRGrrnEqHXaUMawso,1111
|
5
|
-
telegram_libs/mongo.py,sha256=7UOy_cE0ofIbH7QiiirAjOgo_FM9JImtgxQ8ouEsFeo,245
|
6
|
-
telegram_libs/subscription.py,sha256=d7xmzplUrm1nNlWlkqW6dddOYa3t_7PAM3iPme0K5F0,1690
|
7
|
-
telegram_libs/translation.py,sha256=8Kb2cgqKKZH4X_i2Le0V_K1imZdoaCzYAca831DOBig,2049
|
8
|
-
telegram_libs/utils.py,sha256=JPntJwEMsUrg1q2AFBBK82o8YAFaewXq652qv7FmWWI,4784
|
9
|
-
telegram_libs-0.1.10.dist-info/LICENSE,sha256=ZXkWPZbCc61L29Gz6ZHPwn1c4Pm0TnfIqtx8jGWi9F4,1069
|
10
|
-
telegram_libs-0.1.10.dist-info/METADATA,sha256=AqsjI-HerHwu_7lapgZpuki8AivpvXWPedRWHPmMXcc,804
|
11
|
-
telegram_libs-0.1.10.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
12
|
-
telegram_libs-0.1.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|