Commit graph

46 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
0c688b2bd2 append_field<_, T2, _, _> -> T2::up 2020-07-26 04:09:57 +06:00
Temirkhan Myrzamadi
6e7b13dfcc Fix examples/dialogue_bot 2020-07-26 03:59:32 +06:00
Temirkhan Myrzamadi
a3faf0356e Fill the blank instead of a test in examples/dialogue_bot 2020-07-26 03:24:00 +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
56be9a2c59 Use three dots instead of the exclamation in the examples 2020-07-25 19:46:05 +06:00
Temirkhan Myrzamadi
18b813c159 Unify TransitionIn with TransitionOut 2020-07-24 19:26:49 +06:00
Temirkhan Myrzamadi
701b89bf8f Fix examples/dialogue_bot/Cargo.toml 2020-07-24 18:35:50 +06:00
Temirkhan Myrzamadi
aec1abde62 Update examples/dialogue_bot 2020-07-24 18:31:00 +06:00
Temirkhan Myrzamadi
34633ad57b Refactor examples/dialogue_bot 2020-07-24 18:25:52 +06:00
Temirkhan Myrzamadi
008e8505c5 Add BotDialogue 2020-07-24 18:05:05 +06:00
Temirkhan Myrzamadi
e6534ac1b8 Download teloxide-macros from 'ponos' 2020-07-24 12:36:24 +06:00
Temirkhan Myrzamadi
462b42c526 Trying to compile examples/dialogue_bot... 2020-07-24 01:04:42 +06:00
Temirkhan Myrzamadi
f67d960d43 Make a test in examples/dialogue_bot 2020-07-23 21:40:36 +06:00
Temirkhan Myrzamadi
03ab247262 Update redis_remember_bot 2020-07-01 19:25:10 +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
d2f4194d80 Add <E> type parameter to TransitionIn 2020-05-26 17:20:57 +06:00
Temirkhan Myrzamadi
da1762039d A small fix in examples/dialogue_bot 2020-05-26 16:12:53 +06:00
Temirkhan Myrzamadi
a6144d7a26 Add UpdateWithCx::answer_str 2020-05-26 16:08:54 +06:00
Temirkhan Myrzamadi
7fc58421b0 Add dialogue::{TransitionIn, TransitionOut} 2020-05-26 15:35:28 +06:00
Temirkhan Myrzamadi
bf01d2bf8f Fix examples/dialogue_bot 2020-05-26 15:13:53 +06:00
Temirkhan Myrzamadi
f95826e9f8 Add DialogueWithCx::unpack 2020-05-26 15:05:22 +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
a33bd7205c Separate modules of examples/dialogue_bot 2020-05-24 18:55:13 +06:00
Temirkhan Myrzamadi
5b2fa285aa Simplify examples/dialogue_bot 2020-05-24 18:42:40 +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
01dc7a0d42 Improve wrap_dialogue! 2020-05-24 17:15:46 +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
ddd94543d1 Update examples/dialogue_bot 2020-05-24 01:06:04 +06:00
Temirkhan Myrzamadi
267a1dd053 Add 'up' operations (examples/dialogue_bot) 2020-05-24 00:46:00 +06:00
Temirkhan Myrzamadi
bc89fe7b01 Prettify the examples 2020-03-16 17:55:49 +06:00
GoldsteinE
fff1e55a58 Improve readability of dialogue_bot example 2020-03-10 15:05:48 +03:00
Maximilian Siling
ecb09659b3 Refactor Storage so operations can fail 2020-03-09 20:19:27 +03:00
Temirkhan Myrzamadi
fa554a8252 Fixes 2020-02-19 04:54:41 +06:00
Temirkhan Myrzamadi
fc36cf142a Fix a typo in examples/dialogue_bot 2020-02-14 00:17:31 +06:00
Temirkhan Myrzamadi
34d44e5195 Add a description to examples/dialogue_bot 2020-02-13 23:38:05 +06:00
Temirkhan Myrzamadi
42e2f3fb42 Refactor 2020-02-13 23:23:22 +06:00
Temirkhan Myrzamadi
726a46b5ab Remove unnecessary dependencies 2020-02-13 20:21:23 +06:00
Temirkhan Myrzamadi
7a7254b8a1 Add BotBuilder 2020-02-13 20:12:24 +06:00
Temirkhan Myrzamadi
690fdd06b4 Add Bot::{from_env, from_env_with_client} 2020-02-13 18:36:12 +06:00
Temirkhan Myrzamadi
7cf6aaff90 Add multiple_handlers_bot 2020-02-13 14:55:46 +06:00
Temirkhan Myrzamadi
e9a62be453 Rename simple_dialogue -> dialogue_bot 2020-02-12 20:44:40 +06:00