Commit graph

25 commits

Author SHA1 Message Date
5a590a3cd0 Better keyboard definition way with less code. 2023-09-19 14:38:57 +03:00
57f85fdacc Making the widgets more modulable. Needs to be finished. 2023-09-16 14:34:17 +03:00
5e1faf0c44 Added arguments to screen change making it easier to define widget behaviour both for screens and commands. 2023-09-13 12:52:23 +03:00
1d543bf444 Made the root Widget a separate entity. 2023-09-11 16:01:15 +03:00
6c6b041133 Now can automatically set the commands on the user side. 2023-09-11 13:00:38 +03:00
8326ccae1e Rename Value -> Data for the sake of generalisity. 2023-09-11 10:23:04 +03:00
b2ce5fe2ea Re-implemented the customizing by the Widget interface. 2023-09-09 07:28:06 +03:00
5b00189ea2 Great refactoring. Should put more of the handling into the Actions. 2023-09-08 17:37:32 +03:00
b2748a8cee Implemented the PreStart handler. 2023-09-07 15:45:38 +03:00
fc91490c18 Added a global bot value to make it usable with databases etc. 2023-08-19 13:34:21 +03:00
9a1202d777 Globlal refactoring. Less embedded structures making everything more clear. 2023-08-19 12:47:33 +03:00
522b9ada02 A bit more of refactoring and added way to send image files. 2023-08-19 10:19:31 +03:00
b5fbdac972 Renamed tx => tg . 2023-08-19 09:12:26 +03:00
34faec2f8b Fixed "act" declaration outside the handling loop so it is nil on every cycle of the loop. 2023-08-18 14:28:02 +03:00
3f26d2f916 Fixed naming. We do not need the "Arg" thing. 2023-08-18 13:46:10 +03:00
94d8c38dd5 Finally implemented JSON-ing of behaviours. 2023-08-16 17:25:56 +03:00
772adb7b8b Got rid off map of keyboards. 2023-08-15 16:02:14 +03:00
c2562cc54c Implemented basic group behaviour. 2023-08-13 15:37:36 +03:00
e3045862c4 Implemented completely dynamic based code execution program in cmd/json using the Anko. 2023-08-12 19:06:23 +03:00
bbe076f29a Simplified the NewButton call and implemented location sending handling. 2023-08-12 15:54:05 +03:00
44185e92af Implemented basic command handling. 2023-08-12 14:35:33 +03:00
ee28fcf2f7 Fixed lack of checks for nil. 2023-08-11 11:04:28 +03:00
cd965fd811 Implemented synchronous reading from the client letting us read messages. 2023-08-11 10:41:17 +03:00
fbfa0ec388 Simplified behaviour definition functions. 2023-08-10 15:49:25 +03:00
03a2f60436 Make it public. 2023-08-09 23:20:30 +03:00