warp-beacon 2.3.16__py3-none-any.whl → 2.3.17__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.
- warp_beacon/__version__.py +1 -1
- warp_beacon/telegram/bot.py +1 -1
- warp_beacon/telegram/handlers.py +1 -0
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/METADATA +1 -1
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/RECORD +9 -9
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/LICENSE +0 -0
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/WHEEL +0 -0
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/entry_points.txt +0 -0
- {warp_beacon-2.3.16.dist-info → warp_beacon-2.3.17.dist-info}/top_level.txt +0 -0
warp_beacon/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
__version__ = "2.3.
|
1
|
+
__version__ = "2.3.17"
|
2
2
|
|
warp_beacon/telegram/bot.py
CHANGED
@@ -91,7 +91,7 @@ class Bot(object):
|
|
91
91
|
self.client.add_handler(MessageHandler(self.handlers.help, filters.command("help")))
|
92
92
|
self.client.add_handler(MessageHandler(self.handlers.random, filters.command("random")))
|
93
93
|
self.client.add_handler(MessageHandler(self.handlers.handler))
|
94
|
-
self.client.add_handler(
|
94
|
+
self.client.add_handler(self.handlers.simple_button_handler, filters=filters.create(lambda _, q: not q.data.startswith("readmore:")))
|
95
95
|
self.client.add_handler(CallbackQueryHandler(self.handlers.read_more_handler, filters=filters.create(lambda _, q: q.data.startswith("readmore:"))))
|
96
96
|
|
97
97
|
|
warp_beacon/telegram/handlers.py
CHANGED
@@ -213,6 +213,7 @@ class Handlers(object):
|
|
213
213
|
if chat.type not in (ChatType.GROUP, ChatType.SUPERGROUP) and not urls:
|
214
214
|
await self.bot.send_text(text=reply_text, reply_id=effective_message_id, chat_id=chat.id)
|
215
215
|
|
216
|
+
#TODO refactor to callback router
|
216
217
|
async def simple_button_handler(self, client: Client, query: CallbackQuery) -> None:
|
217
218
|
await client.answer_callback_query(
|
218
219
|
callback_query_id=query.id,
|
@@ -4,7 +4,7 @@ var/warp_beacon/accounts.json,sha256=OsXdncs6h88xrF_AP6_WDCK1waGBn9SR-uYdIeK37GM
|
|
4
4
|
var/warp_beacon/placeholder.gif,sha256=cE5CGJVaop4Sx21zx6j4AyoHU0ncmvQuS2o6hJfEH88,6064
|
5
5
|
var/warp_beacon/proxies.json,sha256=VnjlQDXumOEq72ZFjbh6IqHS1TEHqn8HPYAZqWCeSIA,95
|
6
6
|
warp_beacon/__init__.py,sha256=_rThNODmz0nDp_n4mWo_HKaNFE5jk1_7cRhHyYaencI,163
|
7
|
-
warp_beacon/__version__.py,sha256=
|
7
|
+
warp_beacon/__version__.py,sha256=7kEUywY6HMmkf0hezoDB_dwDQMiBqA4wHs6q4S35P6Y,24
|
8
8
|
warp_beacon/warp_beacon.py,sha256=7KEtZDj-pdhtl6m-zFLsSojs1ZR4o7L0xbqtdmYPvfE,342
|
9
9
|
warp_beacon/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
warp_beacon/compress/video.py,sha256=_PDMVYCyzLYxHv1uZmmzGcG_8rjaZr7BTXsXTTy_oS4,2846
|
@@ -36,15 +36,15 @@ warp_beacon/scraper/youtube/youtube.py,sha256=fGrbjBngvvNdpzhb1yZVedNW0_tCrLc31V
|
|
36
36
|
warp_beacon/storage/__init__.py,sha256=xEzexwWZTMtjVesQ73BLhS0VkWoqRXSUmuXS4h5HOvY,3402
|
37
37
|
warp_beacon/storage/mongo.py,sha256=qC4ZiO8XXvPnP0rJwz4CJx42pqFsyAjCiW10W5QdT6E,527
|
38
38
|
warp_beacon/telegram/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
|
-
warp_beacon/telegram/bot.py,sha256=
|
39
|
+
warp_beacon/telegram/bot.py,sha256=YgHTCZuPTC04Pkl18A9b6eA7pZBbDeQn_iEBtnRoVxs,16438
|
40
40
|
warp_beacon/telegram/caption_shortener.py,sha256=6J4Dp35mOmJEyctiuN8WXM39bkQ13m78HoghsYX3fbU,1548
|
41
|
-
warp_beacon/telegram/handlers.py,sha256=
|
41
|
+
warp_beacon/telegram/handlers.py,sha256=P9eR8DzFBSEQVaU0Fp0ABu8qeqFowu0GSU2SdZDfEdc,8511
|
42
42
|
warp_beacon/telegram/placeholder_message.py,sha256=wN9-BRiyrtHG-EvXtZkGJHt2CX71munQ57ITttjt0mw,6400
|
43
43
|
warp_beacon/telegram/utils.py,sha256=9uebX53G16mV7ER7WgfdWBLFHHw14S8HBt9URrIskg0,4440
|
44
44
|
warp_beacon/uploader/__init__.py,sha256=5KRWsxPRGuQ56YhCEnJsXnb-yQp8dpvWEsPDf0dD-fw,4964
|
45
|
-
warp_beacon-2.3.
|
46
|
-
warp_beacon-2.3.
|
47
|
-
warp_beacon-2.3.
|
48
|
-
warp_beacon-2.3.
|
49
|
-
warp_beacon-2.3.
|
50
|
-
warp_beacon-2.3.
|
45
|
+
warp_beacon-2.3.17.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
46
|
+
warp_beacon-2.3.17.dist-info/METADATA,sha256=NeHzbOuWLvTkhwo8d4UPZ7j3J4HyEKSYSn_HL5qD3KE,21723
|
47
|
+
warp_beacon-2.3.17.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
48
|
+
warp_beacon-2.3.17.dist-info/entry_points.txt,sha256=eSB61Rb89d56WY0O-vEIQwkn18J-4CMrJcLA_R_8h3g,119
|
49
|
+
warp_beacon-2.3.17.dist-info/top_level.txt,sha256=2iKFlYwJ-meO9sCX4OGEP1hhQN17t2KFksQ5dXMhXUA,1103
|
50
|
+
warp_beacon-2.3.17.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|