Commit graph

41 commits

Author SHA1 Message Date
d99ea68198 Fixed location button problems. 2023-09-19 15:21:33 +03:00
5a590a3cd0 Better keyboard definition way with less code. 2023-09-19 14:38:57 +03:00
86cfffc56f Finished the widgetizing. 2023-09-16 15:40:30 +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
d500d84de6 Fixed some CommandWidget bugs related to transmitting unneeded updates further. 2023-09-12 11:41:50 +03:00
1d543bf444 Made the root Widget a separate entity. 2023-09-11 16:01:15 +03:00
36fa167549 Implemented reading in commands as widget. 2023-09-11 13:37:04 +03:00
6c6b041133 Now can automatically set the commands on the user side. 2023-09-11 13:00:38 +03:00
221df4b0ba First unstable version. 2023-09-11 10:30:32 +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
cdc1a737b7 Fixed the starting problem. 2023-08-19 13:25:47 +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
d3922a14e1 Fixed active value quering since it makes CP heat as... 2023-08-11 12:45:50 +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
6bbea7c6d9 Added way to store custom information for each user. 2023-07-12 14:59:07 +03:00
521709f87d Added basic inline-buttons support. 2023-07-12 14:30:05 +03:00
2935a7db99 Fixed issues with Update filtering. 2023-07-12 14:20:52 +03:00
36f529df58 Implemented goroutining for each user. 2023-07-12 14:06:05 +03:00
6dd954e8ad Implemented rendering also for the inline keyboards. 2023-07-12 02:02:33 +03:00
c537ccdec1 Implemented basic keyboard and screen rendering. 2023-07-12 00:33:51 +03:00
564f1e8dc4 ... 2023-07-11 19:27:30 +03:00
d7db586637 Checking working with the keyboard. 2023-07-08 22:26:21 +03:00
18e1f12151 Init. 2023-07-03 17:22:45 +03:00