ChaterJee 0.3.2__py3-none-any.whl → 0.3.3__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 CHANGED
@@ -283,7 +283,7 @@ class ChatLogs:
283
283
 
284
284
  async def ClearChat(self, update: Update, context: ContextTypes.DEFAULT_TYPE):
285
285
  self.smsID.append(update.message.message_id)
286
- if update.message == 'Yes':
286
+ if update.message.text == 'Yes':
287
287
  await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
288
288
  msg = await update.message.reply_text(
289
289
  "Full chat history will be cleared", reply_markup=ReplyKeyboardRemove()
@@ -294,7 +294,7 @@ class ChatLogs:
294
294
 
295
295
  self.smsID = []
296
296
  return ConversationHandler.END
297
- elif update.message == 'No':
297
+ elif update.message.text == 'No':
298
298
  await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
299
299
  msg = await update.message.reply_text(
300
300
  "Chat history is kept uncleared", reply_markup=ReplyKeyboardRemove()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChaterJee
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Communicate your project updates via Telegram Bot!
5
5
  Author: Pallab Dutta
6
6
  Author-email: pallab9997@gmail.com
@@ -0,0 +1,6 @@
1
+ ChaterJee/ChaterJee.py,sha256=Z0u5XYJ5b6z844iA_-Vr1KCXJul63HXTy_oYf-a5KkA,14210
2
+ ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
3
+ chaterjee-0.3.3.dist-info/METADATA,sha256=AuwjHPV4g6v62cqLVt7ZaktPbsgNKkhvxFvyXuxVOao,5872
4
+ chaterjee-0.3.3.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
5
+ chaterjee-0.3.3.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
6
+ chaterjee-0.3.3.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- ChaterJee/ChaterJee.py,sha256=iJauDlANsAx8fULUlCePYDL0Gm75Z_qwhqP89wURRtc,14200
2
- ChaterJee/__init__.py,sha256=tZmkZY2XbzJ8rHDh8nOmb1W73kPecPv3xcEiCPwkZf4,98
3
- chaterjee-0.3.2.dist-info/METADATA,sha256=udwPeLJQNKWh3hO-x593hpvSn6cY-PkBWLMhBEcMNTs,5872
4
- chaterjee-0.3.2.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
5
- chaterjee-0.3.2.dist-info/top_level.txt,sha256=Z1UAYoaNybpDiKjqa1yFpti_q0FNECVItb3-9yAh3gM,10
6
- chaterjee-0.3.2.dist-info/RECORD,,