Commit graph

175 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
05e32336fa Add requests::respond 2020-08-02 13:08:43 +06:00
DCjanus
7b9f7e8690 fix example code 2020-08-02 12:11:09 +08:00
Temirkhan Myrzamadi
b3aa539c4d Download the master branch of teloxide-macros 2020-08-01 17:52:50 +06:00
Temirkhan Myrzamadi
e26c8b6e94
Merge pull request #243 from teloxide/feature/arbitrary-transition-result-types
Unpair TransitionOut from concrete Error type resolves #242
2020-08-01 16:14:26 +06:00
Temirkhan Myrzamadi
8b14fb5122 Download teloxide-macros from git in the examples 2020-08-01 16:07:01 +06:00
Temirkhan Myrzamadi
71414b812f
Update examples/README.md 2020-08-01 15:16:28 +06:00
Temirkhan Myrzamadi
90a65c0f9e
Update examples/README.md 2020-08-01 15:15:45 +06:00
Temirkhan Myrzamadi
1e7919455b Import lazy_static into examples/shared_state_bot 2020-07-31 21:49:22 +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
7097dd4f34 'Insert here your bot's name' -> 'Your bot's name here' 2020-07-31 00:47:26 +06:00
Temirkhan Myrzamadi
90338f9bac Update examples/heroku_ping_pong_bot & ngrok 2020-07-31 00:38:37 +06:00
Temirkhan Myrzamadi
02c71f72cb Use the generic HandlerE in REPLs 2020-07-31 00:16:21 +06:00
Temirkhan Myrzamadi
c39586ef10 Add commands_repl 2020-07-30 20:07:46 +06:00
Temirkhan Myrzamadi
1989dcbe04 UpdateWithCx::send_dice -> answer_dice 2020-07-30 19:29:39 +06:00
Temirkhan Myrzamadi
c81ec1602a Remove repl from prelude 2020-07-30 19:25:56 +06:00
Temirkhan Myrzamadi
67af702a81 Use repl in examples/dices_bot 2020-07-30 19:07:58 +06:00
Temirkhan Myrzamadi
e74196a62f Replace examples/ping-pong-bot with examples/dices-bot 2020-07-29 16:02:37 +06:00
Temirkhan Myrzamadi
a6eac93043 Add UpdateWithCx::send_dice 2020-07-29 15:54:43 +06:00
Temirkhan Myrzamadi
2685123316 Remove #[derive(Default)] from StartState in examples/dialogue_bot 2020-07-28 23:37:26 +06:00
Temirkhan Myrzamadi
adce7a4773 Remove the smart-default dependency from examples/redis_remember_bot 2020-07-28 23:33:53 +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
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
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
aa0b2c7d1e Update examples/redis_remember_bot 2020-07-25 02:02:40 +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