24 Commits

Author SHA1 Message Date
Akulij
6dfe9b839d fix logic: move bot insertion to db to /deploy command, instead of function in bot_manager 2025-05-31 10:45:34 +05:00
Akulij
2fdd8a346d fix: instead of actually starting bot on /deploy, just put info in DB
reason: it's not a responsibility of /deploy command to store bot info
AND starting bot thread, isntead it is responsible only for storing info
in DB, as every other command does, and then bot will lazily start by
bot manager
2025-05-27 15:12:14 +05:00
Akulij
a7433cd8cc create /deploy admin command 2025-05-26 20:10:12 +05:00
Akulij
25b980a2ff /users: put @ before username
All checks were successful
Build && Deploy / cargo build (push) Successful in 56s
2025-05-05 18:52:09 +03:00
Akulij
c2aebcd509 create /cancel admin command
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m4s
2025-05-05 18:46:05 +03:00
Akulij
f6adaea70c create /users admin command 2025-05-05 18:44:05 +03:00
Akulij
d0882ffe0b admin: create /setalternative command to edit message variants 2025-05-04 18:42:28 +03:00
Akulij
adac0155b9 create /setchat command 2025-05-02 17:11:01 +03:00
Akulij
da1940cf23 create /setliteral command 2025-05-02 17:10:35 +03:00
Akulij
fed5d8f5b7 create /editbutton cmd for admin 2025-05-01 14:11:34 +03:00
Akulij
ec49ab24b6 clippy: fix warning unused result 2025-04-28 22:54:33 +03:00
Akulij
a51344d089 use log crate instead of raw prints 2025-04-28 22:53:58 +03:00
Akulij
1c9ab867ed follow new db function declarations 2025-04-28 22:43:02 +03:00
Akulij
2aff289a96 clippy: fix warnings 2025-04-28 17:47:31 +03:00
Akulij
29acb02a97 fix message of becoming an admin 2025-04-26 19:56:33 +03:00
Akulij
e2d2cebed8 cargo fmt 2025-04-25 21:05:54 +03:00
Akulij
a940ef5e83 move towards generefication of DB implementation 2025-04-22 22:51:54 +03:00
Akulij
412a54d647 cargo fmt 2025-04-10 20:55:32 +09:00
Akulij
1006fbe5c1 fix: request first_name in user creation db function
it is required column in table
2025-04-10 20:46:23 +09:00
Akulij
8e3ebc936c cargo fmt 2025-04-06 17:58:29 +09:00
Akulij
d74e691009 implement bot message editing feature 2025-04-06 17:58:05 +09:00
Akulij
5cadb2bd76 rustfmt 2025-04-03 04:57:46 +09:00
Akulij
30117624c4 move out secret command to admin file 2025-04-03 04:56:08 +09:00
Akulij
9e95935ddc move out admin commands to admin file 2025-04-03 04:53:16 +09:00