d4rktg 0.5.9__py3-none-any.whl → 0.6.1__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
@@ -1,4 +1,5 @@
1
1
  from functools import wraps
2
+ from pyrogram import filters
2
3
  from pyrogram.types import Message
3
4
  import asyncio
4
5
 
@@ -43,6 +44,8 @@ def round():
43
44
  # Rotate for next message
44
45
  last_index_per_chat[chat_id] = (current_index + 1) % len(bot_order_per_chat[chat_id])
45
46
  return True
47
+ return False
48
+ return filters.create(func)
46
49
 
47
50
  def round_robin():
48
51
  def decorator(func):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: d4rktg
3
- Version: 0.5.9
3
+ Version: 0.6.1
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=77sxFNjjdWMGqoZ5sLE1vR2_zsUu_SIIaF8IcjCVcos,3377
19
+ d4rk/Utils/_round.py,sha256=TLSA1vKS3sJVn-5lNSmQlicV6fptEao6oy6ymfx23ps,3462
20
20
  d4rk/Utils/_terminal.py,sha256=Anu4OcffY3v6LMOrCskP1cHrJIliomo1Hjownbhh2sQ,125
21
- d4rktg-0.5.9.dist-info/METADATA,sha256=N8v1tTAxw0ZLONTrvg7dVUPjh5WbOcTPfB3FYhvkIx0,652
22
- d4rktg-0.5.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- d4rktg-0.5.9.dist-info/top_level.txt,sha256=qs1qTnKWImmGi7E0FoJS0OAEOHoVZA9vHRS3Pm6ncAo,5
24
- d4rktg-0.5.9.dist-info/RECORD,,
21
+ d4rktg-0.6.1.dist-info/METADATA,sha256=r2_etnAf5xYAtAEoPTGlPLCu35ED58pNx0Ovybw9hdA,652
22
+ d4rktg-0.6.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ d4rktg-0.6.1.dist-info/top_level.txt,sha256=qs1qTnKWImmGi7E0FoJS0OAEOHoVZA9vHRS3Pm6ncAo,5
24
+ d4rktg-0.6.1.dist-info/RECORD,,
File without changes