Commit graph

66 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
1af0bfdcbc Fix the examples 2021-03-13 22:13:24 +06:00
Temirkhan Myrzamadi
30458ab724 Oops, push the examples too 2021-03-06 03:24:10 +06:00
Temirkhan Myrzamadi
b3aa539c4d Download the master branch of teloxide-macros 2020-08-01 17:52:50 +06:00
Temirkhan Myrzamadi
8b14fb5122 Download teloxide-macros from git in the examples 2020-08-01 16:07:01 +06:00
Temirkhan Myrzamadi
09d3db9f9b Fix Cargo.toml files in the examples 2020-07-31 21:43:28 +06:00
Temirkhan Myrzamadi
e2d536bc91 Update examples/dialogue_bot 2020-07-31 18:47:20 +06:00
Temirkhan Myrzamadi
2685123316 Remove #[derive(Default)] from StartState in examples/dialogue_bot 2020-07-28 23:37:26 +06:00
Temirkhan Myrzamadi
bdd2ffad2a .unwrap() -> .expect(std::convert::Infallible) 2020-07-28 22:18:43 +06:00
Temirkhan Myrzamadi
a3c67f1838 Update examples/dialogue_bot 2020-07-28 21:00:44 +06:00
Temirkhan Myrzamadi
709fe18ade Use teloxide-macros v0.3.2 2020-07-27 02:42:08 +06:00
Temirkhan Myrzamadi
af2aa218e7 #[teloxide(transition)] -> #[teloxide(subtransition)] 2020-07-27 00:52:03 +06:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
f9c192aad0 Fix the docs 2020-07-26 23:37:56 +06:00
Temirkhan Myrzamadi
54a6bf440b Add an auxiliary parameter to (sub)transitions 2020-07-26 23:16:49 +06:00
Temirkhan Myrzamadi
6c93256c89 Fix examples/dialogue_bot/Cargo.toml 2020-07-26 15:04:20 +06:00
Temirkhan Myrzamadi
796f446a46 Add cfg to the whole up_state.rs 2020-07-26 14:58:55 +06:00
Andrei Orlov
a22f8c6045 Fix examples/dialogue_bot dependencies 2020-07-26 12:32:01 +04:00
Temirkhan Myrzamadi
477d8a67d3 Remove DialogueWithCx::unpack 2020-07-26 13:46:43 +06:00
Temirkhan Myrzamadi
19730fb923 Download frunk_core from github/Hirrolot 2020-07-26 13:41:17 +06:00
Temirkhan Myrzamadi
71f38bcb92 Small refinements 2020-07-26 13:18:29 +06:00
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