Commit Graph

226 Commits

Author SHA1 Message Date
92386ac8ce Fixed some logic holes 2023-01-11 12:28:58 +01:00
dabfa2ecef Added ftfy and length limit 2023-01-10 13:41:08 +01:00
00a408ac6c Added audio support for spoilers 2023-01-10 12:11:29 +01:00
b67b1daf7c Fixed logical hole in cancel command 2023-01-10 12:07:40 +01:00
30dfe4ff04 Moved initial caching a bit 2023-01-09 14:43:19 +01:00
bdc775dcbd Made groups caching log only visible on debug 2023-01-09 14:34:33 +01:00
717d636497 Added one more check 2023-01-09 13:19:17 +01:00
64b0562bc4 Added "group_users_admins" command scope 2023-01-09 13:08:02 +01:00
eced1b7984 Added one more check 2023-01-09 12:54:00 +01:00
da3dd3a2fe Changed debug logging logic 2023-01-09 12:39:39 +01:00
3e166a3fca Fixed inline query caching 2023-01-09 12:21:21 +01:00
d090b18655 Added additional caching message on debug 2023-01-09 12:11:29 +01:00
e2d28f442c Changed inline caching time 2023-01-09 12:10:07 +01:00
496240c48b Fixed id attribute in sponsorships scheduler 2023-01-09 11:39:24 +01:00
Profitroll
0bf5ae70eb Improved inline query usage filters 2023-01-07 10:20:58 +01:00
Profitroll
bcaf80e2e1 Fixed reply_document() issue 2023-01-07 00:38:53 +01:00
Profitroll
1a438fc32e Fixed api method 2023-01-06 21:27:32 +01:00
78a37ca186 Placed exceptions to errors module 2023-01-06 15:49:51 +01:00
374effd5d7 Fixed bugs of /message and now using cached media 2023-01-06 13:21:16 +01:00
Profitroll
1195df894c Added documents support for spoilers 2023-01-05 21:15:34 +01:00
Profitroll
67f1ce535f Small fixes 2023-01-05 20:47:30 +01:00
Profitroll
b6d45545fc User search improved 2023-01-05 20:47:02 +01:00
Profitroll
59dafc004d LabelSettingError added 2023-01-05 20:46:47 +01:00
Profitroll
57518399a1 Sponsorship handler removed 2023-01-05 20:46:04 +01:00
Profitroll
ee288a1983 Photo ID used instead of files for sponsorships 2023-01-05 20:45:35 +01:00
02a6960391 Fixed forwarding spoilers to admin group 2023-01-05 15:48:34 +01:00
7939f8b65e Minor spoiler category fixes 2023-01-05 14:52:57 +01:00
5b28f9f588 Caption and category added for spoilers 2023-01-05 14:34:02 +01:00
78dee0591c /cancel now removes reply markup 2023-01-05 13:12:22 +01:00
b0b0f04a9b Added down time messages 2023-01-05 13:08:08 +01:00
9e009aea43 Minor naming improvements 2023-01-05 13:01:57 +01:00
42d00383bf Removed legacy 2023-01-05 13:01:18 +01:00
47e62946ab Small fix for spoiler with an empty description 2023-01-05 12:53:55 +01:00
2e8277d6d2 Added "owner" as an additional command permission 2023-01-05 12:42:15 +01:00
19fc9308e4 Added /resetcommands command 2023-01-05 12:41:55 +01:00
Profitroll
bdb2338ab9 Still debugging 2023-01-04 22:31:58 +01:00
Profitroll
496bb7d4a6 Improved logging 2023-01-04 21:58:44 +01:00
Profitroll
b437092fe7 Trying to find commands registration issue 2023-01-04 21:58:20 +01:00
Profitroll
9431763e6b Added filling_sponsorship filter 2023-01-04 21:57:11 +01:00
Profitroll
0214a29a2e Fixed handlers 2023-01-04 21:55:50 +01:00
Profitroll
6b80b7d0fa Improved handlers 2023-01-04 20:13:29 +01:00
Profitroll
3fd56e8b41 Fixed a typo in config keys 2023-01-04 19:59:09 +01:00
Profitroll
3eef04794a Integration of spoilers [WIP] 2023-01-04 19:58:54 +01:00
Profitroll
d59a1671b3 Changed config keys 2023-01-04 19:14:02 +01:00
Profitroll
ccbc135ee4 No need to save bot's ID anymore 2023-01-04 17:26:27 +01:00
083281e784 Fixed some paths 2023-01-04 13:31:42 +01:00
8cb3ef283b Now using find_user() 2023-01-04 13:15:08 +01:00
Profitroll
1268c33830 Small fix 2023-01-03 21:54:01 +01:00
Profitroll
aad5c4f9f2 Added support for "general" module 2023-01-03 21:46:16 +01:00
Profitroll
3d4dd29205 Changed the way how commands work 2023-01-03 21:36:26 +01:00
Profitroll
ff95d9556d Fixed some minor issues 2023-01-03 20:48:35 +01:00
Profitroll
096a0498f8 Now using custom filters 2023-01-03 20:34:13 +01:00
Profitroll
d7936fa600 Added more custom filters 2023-01-03 20:33:53 +01:00
b383ab6001 Optimized imports 2023-01-03 15:15:15 +01:00
db60a538b2 Improved docstrings 2023-01-03 15:12:46 +01:00
e79edf1dff Added some more exceptions to handle 2023-01-03 14:30:29 +01:00
7edffd0b40 /identify command added 2023-01-03 14:30:16 +01:00
c8f89a7447 Fixed attribute error 2023-01-03 13:17:59 +01:00
ea1dc542a3 Improved docstrings 2023-01-03 13:16:57 +01:00
6aa8128fc6 Using application_restart() now 2023-01-03 13:04:38 +01:00
7854f88217 Cancel command implemented 2023-01-03 13:04:10 +01:00
b401028dd1 application_state()[0] "none" is also handled now 2023-01-03 13:03:48 +01:00
642c23dd61 Added docstring 2023-01-03 13:02:39 +01:00
b2613c25a4 /label can now be used in admin group 2023-01-03 13:02:27 +01:00
a7038e9d8f Improved tmp files system 2023-01-03 13:01:46 +01:00
626492fb3c Improved logging 2023-01-02 14:24:29 +01:00
a82adc4d1f Changed command output formatting 2023-01-02 11:18:40 +01:00
950666e4ad Changed "loc" to "location" in application 2023-01-02 11:13:41 +01:00
ace71fd6be Members/admins caching is now configurable 2023-01-02 10:48:55 +01:00
Profitroll
25be843cd8 Improved /nearby 2022-12-30 23:29:17 +01:00
Profitroll
e6589fc3e5 Improved admin group filter 2022-12-30 20:36:06 +01:00
Profitroll
8b2abc2cfa Updated /nearby command 2022-12-29 15:04:00 +01:00
Profitroll
c763fc537b Locale usage fixes 2022-12-28 19:01:21 +01:00
Profitroll
22011829a5 Geo update WIP 2022-12-28 18:56:13 +01:00
Profitroll
e59aa98fd5 Working on /nearby 2022-12-27 18:49:02 +01:00
Profitroll
082acc85cf Added custom filters 2022-12-27 18:46:17 +01:00
Profitroll
5e06859b56 Improved typing and linting 2022-12-27 13:36:54 +01:00
Profitroll
47896faf06 Application and sponsorship crosscheck 2022-12-27 13:23:24 +01:00
Profitroll
85112dc653 Fixed some bugs 2022-12-23 12:54:51 +01:00
Profitroll
af862a3454 Added messages to sponsor's locale 2022-12-23 01:49:38 +01:00
Profitroll
1eb98750a7 Changed sponsorship locale 2022-12-23 01:44:21 +01:00
Profitroll
eecb71a91e Updated label_set 2022-12-23 01:44:07 +01:00
Profitroll
426b1550f6 Initialized /cancel command 2022-12-23 01:40:23 +01:00
Profitroll
0302d8c1ae Removed unused 2022-12-23 01:40:07 +01:00
Profitroll
5a6a96d3f9 Delete sponsorships on expiry 2022-12-22 22:14:35 +01:00
Profitroll
12da1b2376 Added LabelTooLongError() and changed names 2022-12-22 22:11:36 +01:00
Profitroll
7db8c9ac5c Fixed label length on set 2022-12-22 22:11:15 +01:00
95e9fdf460 Added sponsorship support 2022-12-22 15:05:27 +01:00
6874268154 Added one more None check 2022-12-21 15:23:36 +01:00
d3945eea0c Started working on sponsorships 2022-12-21 12:25:47 +01:00
Profitroll
b345a5d776 Added voice message logging 2022-12-18 17:54:58 +01:00
Profitroll
f905a5c4df Bot is now aggressive to voice messages 2022-12-18 17:51:21 +01:00
Profitroll
f4a2e655a6 Setting commands is now scheduled 2022-12-17 23:36:39 +01:00
Profitroll
741a01cff6 Fixed literal 2022-12-17 23:26:07 +01:00
Profitroll
6b00f181f6 Avatars caching implemented 2022-12-17 23:25:53 +01:00
Profitroll
1d5ebd02fe Changed max number of results 2022-12-17 23:12:15 +01:00
Profitroll
43ce2d73b6 Fixed application removal 2022-12-17 23:10:56 +01:00
Profitroll
a769ea9ef5 Added language_code context 2022-12-17 00:58:33 +01:00
Profitroll
8ccd2a858a locale() now accepts more object types 2022-12-16 23:25:21 +01:00
de4126b1a3 Logging usage of /applications 2022-12-16 15:04:42 +01:00