ChaterJee 0.3.7__py3-none-any.whl → 0.3.9__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 +3 -3
- {chaterjee-0.3.7.dist-info → chaterjee-0.3.9.dist-info}/METADATA +1 -1
- chaterjee-0.3.9.dist-info/RECORD +6 -0
- chaterjee-0.3.7.dist-info/RECORD +0 -6
- {chaterjee-0.3.7.dist-info → chaterjee-0.3.9.dist-info}/WHEEL +0 -0
- {chaterjee-0.3.7.dist-info → chaterjee-0.3.9.dist-info}/top_level.txt +0 -0
ChaterJee/ChaterJee.py
CHANGED
@@ -63,7 +63,7 @@ class ChatLogs:
|
|
63
63
|
|
64
64
|
jobs_handler = ConversationHandler(\
|
65
65
|
entry_points=[CommandHandler("jobs", self.ShowJobs),\
|
66
|
-
CommandHandler("clear", self.ask2clear)
|
66
|
+
CommandHandler("clear", self.ask2clear),\
|
67
67
|
CommandHandler("edit", self.EditorBabu)],\
|
68
68
|
states={
|
69
69
|
0: [MessageHandler(filters.Regex("^(JOB)"), self.StatJobs)],
|
@@ -227,7 +227,7 @@ class ChatLogs:
|
|
227
227
|
self.txt = f"File {file_path} not Found!"
|
228
228
|
await self.sendUpdate(update, context)
|
229
229
|
else:
|
230
|
-
JSONfiles = get_json_files(".")
|
230
|
+
JSONfiles = self.get_json_files(".")
|
231
231
|
#self.txt = "Expected a JSON file as argument. Nothing provided."
|
232
232
|
#await self.sendUpdate(update, context)
|
233
233
|
await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
|
@@ -242,7 +242,7 @@ class ChatLogs:
|
|
242
242
|
self.txt = f"No JSON file found in the current directory!"
|
243
243
|
await self.sendUpdate(update, context)
|
244
244
|
|
245
|
-
def get_json_files(directory):
|
245
|
+
def get_json_files(self, directory):
|
246
246
|
json_files = []
|
247
247
|
for filename in os.listdir(directory):
|
248
248
|
if filename.endswith(".json"):
|
@@ -0,0 +1,6 @@
|
|
1
|
+
ChaterJee/ChaterJee.py,sha256=5Z1utuhyWSmomrTycSUfiBvIFLIBaFzRl1KwxIuhiow,15946
|
2
|
+
ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
|
3
|
+
chaterjee-0.3.9.dist-info/METADATA,sha256=1XFZFwdxZzoStAbasQOx73UgGNlyNbN9LybJUaXHdeE,5872
|
4
|
+
chaterjee-0.3.9.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
5
|
+
chaterjee-0.3.9.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
|
6
|
+
chaterjee-0.3.9.dist-info/RECORD,,
|
chaterjee-0.3.7.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
ChaterJee/ChaterJee.py,sha256=zLxUIsOlzRzkiicIqwojEwRe2cPrpjsyRS54-usKUdo,15936
|
2
|
-
ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
|
3
|
-
chaterjee-0.3.7.dist-info/METADATA,sha256=UmiWxBMTG8jsrX-bRC36H5Y6xJwFu87HuQTC7BulehA,5872
|
4
|
-
chaterjee-0.3.7.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
5
|
-
chaterjee-0.3.7.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
|
6
|
-
chaterjee-0.3.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|