Commit Graph

188 Commits

Author SHA1 Message Date
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
2b09aaa7b0 Removed old imports 2022-12-14 14:19:20 +01:00
6b84ef3779 Reapply migrated to DB/OOP 2022-12-14 14:16:14 +01:00
4541c84eb9 Optimized for DB/OOP update 2022-12-14 13:58:06 +01:00
9f3f29fa27 Added tmp column 2022-12-14 13:57:29 +01:00
848caf5342 Cleanup 2022-12-13 14:33:28 +01:00
a54d78ccb6 Messenger is ready 2022-12-13 14:24:31 +01:00
Profitroll
8e08b8c94b Temporarily disabled any_stage() 2022-12-12 14:35:11 +01:00
Profitroll
30fc3d0089 Now using database for export 2022-12-12 10:13:58 +01:00
Profitroll
3b22cb0130 Using HoloUser 2022-12-11 23:32:35 +01:00
Profitroll
0e06c2a7a5 Now using HoloUser messaging 2022-12-11 23:32:20 +01:00
Profitroll
5af5bea805 nickname is now label 2022-12-11 23:31:12 +01:00
Profitroll
b185dff664 Start is now Mongo-ready 2022-12-11 19:52:14 +01:00
Profitroll
199f470192 Reboot does not require kill anymore 2022-12-11 19:52:02 +01:00