d4rktg 0.7.4__py3-none-any.whl → 0.7.6__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.
d4rk/Utils/_round.py CHANGED
@@ -33,12 +33,14 @@ def round():
33
33
  # Skip if already responded
34
34
  if msg_id in responded_messages[chat_id]:
35
35
  logger.info(f"Message {text} in chat {chat_id} already responded by {client.me.first_name}.")
36
+ logger.info(f"FILTER NOT PASSED - {client.me.first_name} should now execute the command handler")
36
37
  return False
37
38
 
38
39
  # Always respond in private chats
39
40
  if message.chat.type.name.lower() == "private":
40
41
  responded_messages[chat_id].add(msg_id)
41
42
  logger.info(f"{client.me.first_name} Responding to private message {text} in chat {chat_id}")
43
+ logger.info(f"FILTER PASSED - {client.me.first_name} should now execute the command handler")
42
44
  return True
43
45
 
44
46
  # In groups, simple round-robin
@@ -50,10 +52,11 @@ def round():
50
52
  responded_messages[chat_id].add(msg_id)
51
53
  last_index_per_chat[chat_id] = (current_index + 1) % len(bot_order_per_chat[chat_id])
52
54
  logger.info(f"Bot {client.me.first_name} responding to message {text} in chat {chat_id}")
55
+ logger.info(f"FILTER PASSED - {client.me.first_name} should now execute the command handler")
53
56
  return True
54
-
55
- logger.info(f"Bot {client.me.first_name} not selected to respond to message {text} in chat {chat_id}")
56
- return False
57
+ else:
58
+ logger.info(f"Bot {client.me.first_name} not selected to respond to message {text} in chat {chat_id}")
59
+ return False
57
60
 
58
61
  return filters.create(func)
59
62
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: d4rktg
3
- Version: 0.7.4
3
+ Version: 0.7.6
4
4
  Summary: A module for create with easy and fast
5
5
  Author: D4rkShell
6
6
  Author-email: premiumqtrst@gmail.com
@@ -16,9 +16,9 @@ d4rk/Utils/_fonts.py,sha256=CQsDqPgvp27t3f75Cxod0EmZogEssLwIpyesH-YY5KM,7518
16
16
  d4rk/Utils/_ip.py,sha256=KJJW2QSngshIVWCO5YPXF1wj4IPQzVN5oFofpfzlU5w,559
17
17
  d4rk/Utils/_movie_parser.py,sha256=QEPd3z04p4pk2vxZ-2fYlRxHmQbmwQd2mCIlBsBM5AY,7039
18
18
  d4rk/Utils/_ractions.py,sha256=wOVPyoFnbDuMgoP6NF_gLO1DYcfhERC0trdAK1jWSE8,2170
19
- d4rk/Utils/_round.py,sha256=ntfE9P_yh_DZQ6_N5Y2uk63I2mRyU1Jay9676RIzKI4,4116
19
+ d4rk/Utils/_round.py,sha256=reQ5CqAL6lSaCtvIkcTekjYVdoUXTc6ej8VZYXabqtk,4474
20
20
  d4rk/Utils/_terminal.py,sha256=Anu4OcffY3v6LMOrCskP1cHrJIliomo1Hjownbhh2sQ,125
21
- d4rktg-0.7.4.dist-info/METADATA,sha256=xxwRG0P_FqtocdIDdOrNO6lrFSjgvs3mjhpg3dtSNRs,652
22
- d4rktg-0.7.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- d4rktg-0.7.4.dist-info/top_level.txt,sha256=qs1qTnKWImmGi7E0FoJS0OAEOHoVZA9vHRS3Pm6ncAo,5
24
- d4rktg-0.7.4.dist-info/RECORD,,
21
+ d4rktg-0.7.6.dist-info/METADATA,sha256=KMIR4Sq_d2HjS1ckvSK0TzabMBxTLYUJDxNU4AhcAtE,652
22
+ d4rktg-0.7.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ d4rktg-0.7.6.dist-info/top_level.txt,sha256=qs1qTnKWImmGi7E0FoJS0OAEOHoVZA9vHRS3Pm6ncAo,5
24
+ d4rktg-0.7.6.dist-info/RECORD,,
File without changes