RubigramClient 1.6.2__tar.gz → 1.6.3__tar.gz
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.
Potentially problematic release.
This version of RubigramClient might be problematic. Click here for more details.
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/PKG-INFO +1 -1
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/RubigramClient.egg-info/PKG-INFO +1 -1
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/pyproject.toml +1 -1
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/client.py +5 -5
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/LICENSE +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/README.md +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/RubigramClient.egg-info/SOURCES.txt +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/RubigramClient.egg-info/dependency_links.txt +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/RubigramClient.egg-info/requires.txt +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/RubigramClient.egg-info/top_level.txt +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/__init__.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/filters.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/method.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/models.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/network.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/rubigram/state.py +0 -0
- {rubigramclient-1.6.2 → rubigramclient-1.6.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
|
|
5
5
|
Author-email: Javad RZ <Javad.Py1385@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
|
|
5
5
|
Author-email: Javad RZ <Javad.Py1385@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "RubigramClient"
|
|
3
|
-
version = "1.6.
|
|
3
|
+
version = "1.6.3"
|
|
4
4
|
description = "A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.7"
|
|
@@ -25,7 +25,7 @@ class Client(Method):
|
|
|
25
25
|
self.ROUTES = []
|
|
26
26
|
self.MESSAGE_HANDLER = []
|
|
27
27
|
self.INLINE_HANDLER = []
|
|
28
|
-
self.state = StateManager()
|
|
28
|
+
# self.state = StateManager()
|
|
29
29
|
super().__init__(token)
|
|
30
30
|
|
|
31
31
|
|
|
@@ -70,11 +70,11 @@ class Client(Method):
|
|
|
70
70
|
|
|
71
71
|
async def on_startup(self, app):
|
|
72
72
|
await self.set_endpoints()
|
|
73
|
-
await self.state.start()
|
|
73
|
+
# await self.state.start()
|
|
74
74
|
await self.start()
|
|
75
75
|
|
|
76
76
|
async def on_cleanup(self, app):
|
|
77
|
-
await self.state.stop()
|
|
77
|
+
# await self.state.stop()
|
|
78
78
|
await self.stop()
|
|
79
79
|
|
|
80
80
|
def create_request_handler(self):
|
|
@@ -86,7 +86,7 @@ class Client(Method):
|
|
|
86
86
|
|
|
87
87
|
async def runner(self):
|
|
88
88
|
try:
|
|
89
|
-
await self.state.start()
|
|
89
|
+
# await self.state.start()
|
|
90
90
|
while True:
|
|
91
91
|
get_updates = await self.get_update(100, self.offset_id)
|
|
92
92
|
if get_updates.updates:
|
|
@@ -101,7 +101,7 @@ class Client(Method):
|
|
|
101
101
|
except Exception as error:
|
|
102
102
|
print(f"ERROR : {error}")
|
|
103
103
|
finally:
|
|
104
|
-
await self.state.stop()
|
|
104
|
+
# await self.state.stop()
|
|
105
105
|
await self.stop()
|
|
106
106
|
|
|
107
107
|
def create_app(self, path: str, method: str = "Get"):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|