Commit Graph

  • 7c0d1a376c feat(dir name): rename dir (endpoints -> handlers) main doryan 2024-10-08 23:38:07 +0400
  • c023b9b764 feat(handlers): remove repeated code blocks and create one admin_command and info_command handlers doryan 2024-10-08 23:37:22 +0400
  • 74e1394fc4 feat(module): add module to export doryan 2024-10-08 23:33:42 +0400
  • 01a4caf665 ???? doryan 2024-10-08 23:33:07 +0400
  • b728eafd4b feat(macro): rename macro_rule and move to separate module doryan 2024-10-08 23:32:58 +0400
  • 7214caeed5 feat(import): module rename (endpoints -> handlers) doryan 2024-10-08 23:32:06 +0400
  • d5c0df353c refactor: some refactor doryan 2024-08-31 23:41:18 +0400
  • 9029d4397a feat: change version doryan 2024-08-31 23:30:53 +0400
  • 613b4f10ce feat(dice): skip only dice message doryan 2024-08-31 23:30:42 +0400
  • 2c7abf251f feat(id): add user_id check doryan 2024-08-31 23:30:17 +0400
  • f81bc8d3ce feat(msg): remove redundant message doryan 2024-08-31 23:29:16 +0400
  • c387c0497a feat(help): add help to the ban command test doryan 2024-08-21 23:11:47 +0400
  • 1044f7a434 feat(ver): change version number doryan 2024-08-21 23:10:54 +0400
  • 20b1e78aa3 uhm... doryan 2024-08-21 20:58:34 +0400
  • d45ebcc682 feat(imports): format imports doryan 2024-08-21 20:58:21 +0400
  • f41e012f8e refactor: add append_command macro doryan 2024-08-21 20:57:43 +0400
  • e333e401f3 feat(fn): all_admin_member is slice doryan 2024-08-21 20:56:45 +0400
  • 352514d2b0 refactor: format code doryan 2024-08-21 20:56:11 +0400
  • 46183842bd fix(on reply): prevent unmute action with REPLY doryan 2024-08-21 20:55:28 +0400
  • 1bcbb3d456 refactor: rename file doryan 2024-08-21 20:52:08 +0400
  • b557bf5832 feat(imports): format imports doryan 2024-08-21 20:50:38 +0400
  • 311187b6eb refactor(bot): dice and command endpoints; feat(ban): add ban endpoint; and etc. doryan 2024-07-09 23:05:29 +0400
  • 3fda2620e3 feat(attributes): add #[allow(dead_code)] for target user and #[derive(Clone)] for handler_entity doryan 2024-07-09 23:03:49 +0400
  • cca1b86772 refactor(folder name): rename from 'handlers' to 'endpoints' doryan 2024-07-09 23:01:33 +0400
  • 7576859907 refactor(bot actions): move bot actions from src/handlers to src/ doryan 2024-07-09 23:00:01 +0400
  • ec2ff44e36 refactor(utils): sort, rename and refactor utils doryan 2024-07-09 22:57:37 +0400
  • e0a5e3a0bb feat(ban): add ban command help info doryan 2024-07-09 22:56:36 +0400
  • 8928a21e1e fix(spell): remove stupid spelling mistake doryan 2024-07-09 22:20:05 +0400
  • be6c68dcf2 feat(ban): add ban command help info doryan 2024-07-09 22:18:16 +0400
  • d9d65e8d58 feat(new command): add privacy command doryan 2024-07-08 09:51:04 +0400
  • b621a3af66 fix(unrestrict_date): stupid mistake that doesn't let return unrestrict date in any of TimeMetric enumeration except Days doryan 2024-06-18 18:34:10 +0400
  • f9a6c9645b fix(TimeMetrics Struct): parser of time metric from command argument doryan 2024-06-18 18:16:18 +0400
  • da5edc1aac fix(TimeMetrics Struct): parser of time metric from command argument doryan 2024-06-18 18:15:10 +0400
  • c76364c8b4 fix(admin check): check for admin if a member doesn't ha the admins privileges but have prefix doryan 2024-06-18 00:17:24 +0400
  • f9abd1592e refactor(Cargo.toml file): redundant crate (Actix-web) has been removed doryan 2024-06-18 00:06:31 +0400
  • b5a9315a2d Tried to add dependencies only for "dev" profile, but not successful. Conditional compiling has been added doryan 2024-06-09 03:26:48 +0400
  • 6bde201ca2 Message text corrections doryan 2024-06-08 03:17:12 +0400
  • 7b31cccf31 Now the admin_check function gets a second argument in the form of user_id, and this function is used in try_restrict doryan 2024-06-08 03:12:16 +0400
  • 0ec0c94501 Function for checks for the existence of target user have been implemented for enum TargetUser doryan 2024-06-08 03:09:17 +0400
  • 89119936c8 Сheck for the existence of target user have been added doryan 2024-06-08 03:08:00 +0400
  • ac9fbcf344 Admin checks have been implemented in "Inner middleware" doryan 2024-06-08 03:04:34 +0400
  • d803f6931f Unnecessary target checks have been removed doryan 2024-06-08 03:02:53 +0400
  • a9ab73ec72 Some corrections to the command help text doryan 2024-06-08 03:00:47 +0400
  • 2e02d9df47 Help response text has been moved to html file doryan 2024-06-08 02:58:39 +0400
  • 9a64001926 Merge pull request 'Reformat output chat messages' (#1) from dogma/gluon:fix-messages into main doryan 2024-06-07 11:47:41 +0300
  • 2f0ae08d4f handlers/{actions,command_handlers}: reformat messages Dogma Toscarina 2024-06-07 02:22:18 +0300
  • 06b3a473ed middlewares/admin_check_middleware: shorten error message Dogma Toscarina 2024-06-07 02:20:22 +0300
  • 6e59ee1eb8 utils/telegram/try_do: shorten DEMOTE_FAILURE_MESSAGE Dogma Toscarina 2024-06-07 02:15:51 +0300
  • 18b938bf95 handlers/dice_handler/dice: make message short and concise. Dogma Toscarina 2024-06-07 02:14:52 +0300
  • 9f5174c442 types/enums/time_metrics: fix grammar Dogma Toscarina 2024-06-07 02:13:26 +0300
  • c6222d42f8 assets: fix help messages (mute, unmute) Dogma Toscarina 2024-06-07 01:50:05 +0300
  • e52d6042a3 some fixes doryan 2024-06-05 14:21:12 +0400
  • 009a42990a DELETED: useless function for HTML parsing doryan 2024-06-05 14:13:24 +0400
  • 00f59465b3 CHANGED: help command text doryan 2024-06-02 14:31:37 +0400
  • f625fc7960 FIXED: Finish message after bot action doryan 2024-06-02 14:22:30 +0400
  • 820fa21878 REFACTORED: mute and ban action doryan 2024-06-02 03:56:04 +0400
  • 561d2deb70 REFACTORED: mute and ban action doryan 2024-06-02 03:34:56 +0400
  • 8f43d91f5c DONE: unmute command doryan 2024-06-02 02:30:52 +0400
  • 7ec67cb6e4 reinit git doryan 2024-05-31 00:37:47 +0400