Commit Graph

17 Commits

Author SHA1 Message Date
doryan dd306b7000 REFACTOR!: remove a lot of bad code + structures, remake command args parser, and etc. 2025-04-10 00:46:50 +04:00
doryan 74e1394fc4 feat(module): add module to export 2024-10-08 23:33:42 +04:00
doryan b728eafd4b feat(macro): rename macro_rule and move to separate module 2024-10-08 23:32:58 +04:00
doryan e333e401f3 feat(fn): all_admin_member is slice 2024-08-21 20:56:45 +04:00
doryan 352514d2b0 refactor: format code 2024-08-21 20:56:11 +04:00
doryan ec2ff44e36 refactor(utils): sort, rename and refactor utils 2024-07-09 22:57:37 +04:00
doryan b621a3af66 fix(unrestrict_date): stupid mistake that doesn't let return unrestrict date in any of TimeMetric enumeration except Days 2024-06-18 18:34:10 +04:00
doryan f9a6c9645b fix(TimeMetrics Struct): parser of time metric from command argument 2024-06-18 18:16:18 +04:00
doryan c76364c8b4 fix(admin check): check for admin if a member doesn't ha the admins privileges but have prefix 2024-06-18 00:17:24 +04:00
doryan 6bde201ca2 Message text corrections 2024-06-08 03:17:12 +04:00
doryan 7b31cccf31 Now the admin_check function gets a second argument in the form of user_id, and this function is used in try_restrict 2024-06-08 03:12:16 +04:00
Dogma Toscarina 6e59ee1eb8 utils/telegram/try_do: shorten DEMOTE_FAILURE_MESSAGE
It would be annoying to get this long message spamming the chat window.

Such error messages should describe what has gone wrong, but not give
any guidances, advices or directions; they belong elsewhere
(documentation, wiki, etc).
2024-06-07 10:41:53 +03:00
doryan 009a42990a DELETED: useless function for HTML parsing 2024-06-05 14:13:24 +04:00
doryan 820fa21878 REFACTORED: mute and ban action 2024-06-02 03:56:04 +04:00
doryan 561d2deb70 REFACTORED: mute and ban action 2024-06-02 03:34:56 +04:00
doryan 8f43d91f5c DONE: unmute command 2024-06-02 02:30:52 +04:00
doryan 7ec67cb6e4 reinit git 2024-05-31 00:37:47 +04:00