Commit graph

32 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
a5707fd713 Move UpState to utils 2020-07-28 23:48:46 +06:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
c7d97be8a8 Remove up! 2020-07-26 04:34:21 +06:00
Temirkhan Myrzamadi
0c688b2bd2 append_field<_, T2, _, _> -> T2::up 2020-07-26 04:09:57 +06:00
Temirkhan Myrzamadi
094a95e8d8 Add append_field 2020-07-26 03:10:48 +06:00
Temirkhan Myrzamadi
bf114de249 A nicer approach to manage dialogues via #[derive(Transition)] + #[teloxide(transition)] 2020-07-25 22:37:58 +06:00
Temirkhan Myrzamadi
008e8505c5 Add BotDialogue 2020-07-24 18:05:05 +06:00
Temirkhan Myrzamadi
0ac679c443 Remove the frunk dependency 2020-07-01 18:52:53 +06:00
Temirkhan Myrzamadi
eabc77caab Remove wrap_dialogue! 2020-06-26 18:18:31 +06:00
Temirkhan Myrzamadi
7fc58421b0 Add dialogue::{TransitionIn, TransitionOut} 2020-05-26 15:35:28 +06:00
Temirkhan Myrzamadi
f3fb72d527 DispatcherHandlerCx -> UpdateWithCx, DialogueDispatcherHandler -> DialogueWithCx 2020-05-26 15:01:57 +06:00
Temirkhan Myrzamadi
3ffb2c70fb Document the newest macros 2020-05-24 22:28:08 +06:00
Temirkhan Myrzamadi
572d41fbf8 Extract FavouriteMusic into favourite_music.rs (examples/dialogue_bot) 2020-05-24 18:39:41 +06:00
Temirkhan Myrzamadi
c9393aa5d6 Prettify examples/dialogues_bot a little bit 2020-05-24 17:36:20 +06:00
Temirkhan Myrzamadi
6ff1800f12 Add auxiliary dialogues macros 2020-05-24 17:08:40 +06:00
Temirkhan Myrzamadi
963218bba0 Use a coproduct as a dialogue FSM 2020-05-24 14:19:46 +06:00
Temirkhan Myrzamadi
46b20f676e Add DispatcherHandlerRxExt 2020-02-19 15:53:54 +06:00
Temirkhan Myrzamadi
fa554a8252 Fixes 2020-02-19 04:54:41 +06:00
Temirkhan Myrzamadi
f20932a730 Fix error handlers 2020-02-18 06:19:50 +06:00
Temirkhan Myrzamadi
d23b226e86 Shutting up rustc 2020-02-18 05:55:43 +06:00
Temirkhan Myrzamadi
9eda683fc5 Make handlers accept streams 2020-02-18 04:19:16 +06:00
Temirkhan Myrzamadi
42e2f3fb42 Refactor 2020-02-13 23:23:22 +06:00
Temirkhan Myrzamadi
7a7254b8a1 Add BotBuilder 2020-02-13 20:12:24 +06:00
Temirkhan Myrzamadi
7cf6aaff90 Add multiple_handlers_bot 2020-02-13 14:55:46 +06:00
Temirkhan Myrzamadi
9cab5e45f3 Implement a type-safe finite automaton (examples/simple_dialogue) 2020-02-12 15:55:36 +06:00
Temirkhan Myrzamadi
0ae2d975df Add the state! macro 2020-02-11 04:04:57 +06:00
Temirkhan Myrzamadi
bde4d09e5d Add dialogue::{next, exit} 2020-02-11 02:54:08 +06:00
Temirkhan Myrzamadi
17de4840d7 Refactor 2020-02-04 21:38:25 +06:00
Temirkhan Myrzamadi
7e34007a4d Divide AsyncHandler into different traits 2020-02-03 16:25:05 +06:00
Temirkhan Myrzamadi
61d002b8d4 Refactor 2020-02-02 22:32:27 +06:00
Temirkhan Myrzamadi
1a6297747c Add examples/simple_fsm 2020-01-30 04:54:40 +06:00
Temirkhan Myrzamadi
1d6a21acb0 Add teloxide::prelude 2020-01-30 00:11:52 +06:00