RubigramClient 1.7.0__tar.gz → 1.7.1__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.

Files changed (20) hide show
  1. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/PKG-INFO +10 -7
  2. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/README.md +9 -6
  3. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/RubigramClient.egg-info/PKG-INFO +10 -7
  4. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/pyproject.toml +1 -1
  5. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/LICENSE +0 -0
  6. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/RubigramClient.egg-info/SOURCES.txt +0 -0
  7. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/RubigramClient.egg-info/dependency_links.txt +0 -0
  8. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/RubigramClient.egg-info/requires.txt +0 -0
  9. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/RubigramClient.egg-info/top_level.txt +0 -0
  10. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/__init__.py +0 -0
  11. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/client.py +0 -0
  12. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/enums.py +0 -0
  13. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/filters.py +0 -0
  14. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/method.py +0 -0
  15. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/network.py +0 -0
  16. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/rubino/__init__.py +0 -0
  17. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/rubino/client.py +0 -0
  18. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/state.py +0 -0
  19. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/rubigram/types.py +0 -0
  20. {rubigramclient-1.7.0 → rubigramclient-1.7.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.7.0
3
+ Version: 1.7.1
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 <MrJavad.Email@gmail.com>
6
6
  License: MIT License
@@ -34,12 +34,15 @@ Requires-Dist: aiohttp
34
34
  Requires-Dist: aiofiles
35
35
  Dynamic: license-file
36
36
 
37
- <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
38
-
39
-
40
37
  # Rubigram
41
38
  A lightweight Python library to build Rubika bots easily.
42
39
 
40
+ <div align="center">
41
+ <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
42
+ </div>
43
+
44
+
45
+
43
46
  ## Installation
44
47
  ```bash
45
48
  pip install RubigramClient
@@ -52,7 +55,7 @@ from rubigram import Client
52
55
  bot = Client(token="YOUR_TOKEN")
53
56
 
54
57
  @bot.on_message()
55
- async def echo(client, message):
58
+ async def handler(client, message):
56
59
  await message.reply("Hello Rubigram!")
57
60
 
58
61
  bot.run()
@@ -66,8 +69,8 @@ from rubigram.types import Update
66
69
  bot = Client(token="YOUR_TOKEN_BOT")
67
70
 
68
71
  @bot.on_message(filters.private)
69
- async def welcome_message(client, message: Update):
70
- send = await message.reply("Hi, WELCOME TO RUBIGRAM")
72
+ async def echo(client, message: Update):
73
+ send = await message.reply(f"Hi, {message.new_message.text}")
71
74
  await send.edit_text("message was edited")
72
75
 
73
76
  bot.run()
@@ -1,9 +1,12 @@
1
- <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
2
-
3
-
4
1
  # Rubigram
5
2
  A lightweight Python library to build Rubika bots easily.
6
3
 
4
+ <div align="center">
5
+ <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
6
+ </div>
7
+
8
+
9
+
7
10
  ## Installation
8
11
  ```bash
9
12
  pip install RubigramClient
@@ -16,7 +19,7 @@ from rubigram import Client
16
19
  bot = Client(token="YOUR_TOKEN")
17
20
 
18
21
  @bot.on_message()
19
- async def echo(client, message):
22
+ async def handler(client, message):
20
23
  await message.reply("Hello Rubigram!")
21
24
 
22
25
  bot.run()
@@ -30,8 +33,8 @@ from rubigram.types import Update
30
33
  bot = Client(token="YOUR_TOKEN_BOT")
31
34
 
32
35
  @bot.on_message(filters.private)
33
- async def welcome_message(client, message: Update):
34
- send = await message.reply("Hi, WELCOME TO RUBIGRAM")
36
+ async def echo(client, message: Update):
37
+ send = await message.reply(f"Hi, {message.new_message.text}")
35
38
  await send.edit_text("message was edited")
36
39
 
37
40
  bot.run()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.7.0
3
+ Version: 1.7.1
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 <MrJavad.Email@gmail.com>
6
6
  License: MIT License
@@ -34,12 +34,15 @@ Requires-Dist: aiohttp
34
34
  Requires-Dist: aiofiles
35
35
  Dynamic: license-file
36
36
 
37
- <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
38
-
39
-
40
37
  # Rubigram
41
38
  A lightweight Python library to build Rubika bots easily.
42
39
 
40
+ <div align="center">
41
+ <img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
42
+ </div>
43
+
44
+
45
+
43
46
  ## Installation
44
47
  ```bash
45
48
  pip install RubigramClient
@@ -52,7 +55,7 @@ from rubigram import Client
52
55
  bot = Client(token="YOUR_TOKEN")
53
56
 
54
57
  @bot.on_message()
55
- async def echo(client, message):
58
+ async def handler(client, message):
56
59
  await message.reply("Hello Rubigram!")
57
60
 
58
61
  bot.run()
@@ -66,8 +69,8 @@ from rubigram.types import Update
66
69
  bot = Client(token="YOUR_TOKEN_BOT")
67
70
 
68
71
  @bot.on_message(filters.private)
69
- async def welcome_message(client, message: Update):
70
- send = await message.reply("Hi, WELCOME TO RUBIGRAM")
72
+ async def echo(client, message: Update):
73
+ send = await message.reply(f"Hi, {message.new_message.text}")
71
74
  await send.edit_text("message was edited")
72
75
 
73
76
  bot.run()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "RubigramClient"
3
- version = "1.7.0"
3
+ version = "1.7.1"
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"
File without changes
File without changes