Commit Graph

201 Commits

Author SHA1 Message Date
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
11da9de887 Fixed a few unsupported types 2022-12-16 15:02:39 +01:00
bc8cd8a8ce Inline mode optimized for DB/OOP 2022-12-16 13:19:50 +01:00
e61aa17a72 Improved logging and changed message 2022-12-16 12:04:57 +01:00
40483c17c1 Rules message changed 2022-12-16 11:43:43 +01:00
2d75b01bfe Removed unused imports 2022-12-16 11:29:10 +01:00
b0a3830c4f Simple line reorder 2022-12-16 11:27:46 +01:00
32ec34435d Migrated to DB/OOP 2022-12-16 11:27:32 +01:00
57428e530a Optimized for DB/OOP 2022-12-16 11:15:56 +01:00
4c82cd8515 Added one more check on call 2022-12-15 15:12:52 +01:00
652069ffd8 Also handle bad_request_400.PeerIdInvalid 2022-12-15 15:04:35 +01:00
3e2c301400 Also handle UserNotFoundError 2022-12-15 15:02:56 +01:00
2924c808dd Added /nearby command 2022-12-15 15:00:38 +01:00
f471deedd2 Fixed typos 2022-12-15 15:00:27 +01:00
9d0b66371a Removed unused imports 2022-12-15 14:52:33 +01:00
d7a087bcfb Temporarily disabled 2022-12-15 14:32:33 +01:00
b09f30c3fd Optimized for DB/OOP 2022-12-15 14:32:17 +01:00
c91833f81e Reply is parsed as markdown now 2022-12-15 14:31:57 +01:00
49bed307ad Improved isAnAdmin() usage 2022-12-15 14:31:42 +01:00
e603dd24ab Optimized for DB/OOP 2022-12-15 13:52:08 +01:00
909588e940 Changed some texts 2022-12-15 13:50:11 +01:00
f1990345ce Improved docstrings 2022-12-14 14:57:39 +01:00
31376278ba Birthdays checker updated 2022-12-14 14:45:46 +01:00
3009094caa Polisher /warn and /warnings 2022-12-14 14:38:04 +01:00
db36c051d4 Comments for warns 2022-12-14 14:31:15 +01:00
e4fafd9075 Updated /warnings to DB/OOP 2022-12-14 14:30:51 +01:00