ChaterJee 0.1.6__py3-none-any.whl → 0.1.7__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.
- ChaterJee/ChaterJee.py +5 -2
- {chaterjee-0.1.6.dist-info → chaterjee-0.1.7.dist-info}/METADATA +1 -1
- chaterjee-0.1.7.dist-info/RECORD +6 -0
- chaterjee-0.1.6.dist-info/RECORD +0 -6
- {chaterjee-0.1.6.dist-info → chaterjee-0.1.7.dist-info}/WHEEL +0 -0
- {chaterjee-0.1.6.dist-info → chaterjee-0.1.7.dist-info}/top_level.txt +0 -0
ChaterJee/ChaterJee.py
CHANGED
@@ -49,6 +49,9 @@ class ChatLogs:
|
|
49
49
|
fEdit_handler = CommandHandler('edit', self.EditorBabu)
|
50
50
|
application.add_handler(fEdit_handler)
|
51
51
|
|
52
|
+
cmd_handler = CommandHandler('sh', self.command)
|
53
|
+
application.add_handler(cmd_handler)
|
54
|
+
|
52
55
|
#jobs_handler = CommandHandler('jobs', self.ShowJobs)
|
53
56
|
#application.add_handler(jobs_handler)
|
54
57
|
|
@@ -75,7 +78,7 @@ class ChatLogs:
|
|
75
78
|
#application.add_handler(jedit_handler)
|
76
79
|
|
77
80
|
application.add_handler(MessageHandler(filters.StatusUpdate.WEB_APP_DATA, self.web_app_data))
|
78
|
-
application.add_handler(MessageHandler(filters.TEXT, self.commands))
|
81
|
+
#application.add_handler(MessageHandler(filters.TEXT, self.commands))
|
79
82
|
|
80
83
|
application.run_polling()
|
81
84
|
|
@@ -343,7 +346,7 @@ class ChatLogs:
|
|
343
346
|
|
344
347
|
async def commands(self, update: Update, context: ContextTypes.DEFAULT_TYPE):
|
345
348
|
self.smsID.append(update.message.message_id)
|
346
|
-
cmd2run = update.message.text.strip()
|
349
|
+
cmd2run = ' '.join(context.args) #update.message.text.strip()
|
347
350
|
cmd0 = cmd2run.split(' ')[0]
|
348
351
|
if cmd0=='cd':
|
349
352
|
cmd1 = cmd2run[3:]
|
@@ -0,0 +1,6 @@
|
|
1
|
+
ChaterJee/ChaterJee.py,sha256=Qi5k47RdcTKcWMpzbw28yF4EWMg-G5ES4PIjcA6TgLI,14558
|
2
|
+
ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
|
3
|
+
chaterjee-0.1.7.dist-info/METADATA,sha256=hVzs4KNJbEty8_pujAJ2t64073ZTAUIWfp9ghibDW7U,340
|
4
|
+
chaterjee-0.1.7.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
5
|
+
chaterjee-0.1.7.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
|
6
|
+
chaterjee-0.1.7.dist-info/RECORD,,
|
chaterjee-0.1.6.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
ChaterJee/ChaterJee.py,sha256=FdyOn5LvWZawS0g41AUDM-vQtwcGTRluWImlnT-907g,14430
|
2
|
-
ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
|
3
|
-
chaterjee-0.1.6.dist-info/METADATA,sha256=gbkx3ByauxGZrrduNhDAA9lIEMKyWfbFO1eplM1ixwU,340
|
4
|
-
chaterjee-0.1.6.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
5
|
-
chaterjee-0.1.6.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
|
6
|
-
chaterjee-0.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|