Commit graph

101 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
eabc77caab Remove wrap_dialogue! 2020-06-26 18:18:31 +06:00
Temirkhan Myrzamadi
0db3116939 Remove stupid comments 2020-06-01 18:09:49 +06:00
Temirkhan Myrzamadi
67a31a6437
Update README.md 2020-06-01 13:05:52 +06:00
Temirkhan Myrzamadi
4c4909f5fd webhook_ping_pong_bot -> ngrok_ping_pong_bot 2020-06-01 13:05:10 +06:00
Temirkhan Myrzamadi
d2f4194d80 Add <E> type parameter to TransitionIn 2020-05-26 17:20:57 +06:00
Temirkhan Myrzamadi
75baa88c7e Update all the examples 2020-05-26 16:42:04 +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
0a3617892b Remove examples/guess_a_number_bot
We already have an example bot that demonstrates how to use dialogues (examples/dialogue_bot)
2020-05-26 14:28:25 +06:00
Temirkhan Myrzamadi
c83c4e14de Update examples/guess_a_number_bot 2020-05-25 00:14:49 +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
Pedro Lopes de Azevedo
f3e1b41a73 Added heroku_ping_pong_bot example
Altered webhook_ping_pong_bot to work when deployinh to heroku
2020-04-16 23:31:02 -03:00
Temirkhan Myrzamadi
72a30e6dd1 Fix examples/webhook_ping_pong_bot 2020-04-01 00:26:55 +06:00
Temirkhan Myrzamadi
b9301bb1d5
Merge branch 'master' into webhooks 2020-03-31 21:52:44 +06:00
Temirkhan Myrzamadi
46338c464f Refactor error logging if Update is failed to parse 2020-03-31 21:41:00 +06:00
Temirkhan Myrzamadi
68904e3a5a Fix ci.yml 2020-03-31 13:49:55 +06:00
Temirkhan Myrzamadi
3cd1ff9e02
Update README.md 2020-03-31 01:10:04 +06:00
Temirkhan Myrzamadi
51129f5d0f Provide a webhook example instead of a library function 2020-03-31 00:57:19 +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
23df2d0577 Add the 'let secret = cx.dialogue' binding 2020-03-09 16:08:11 +06:00
Temirkhan Myrzamadi
95d3e7ceae Remove the excess check in guess-a-number-bot 2020-03-09 14:59:37 +06:00
Temirkhan Myrzamadi
ec7db5ec7b Decompose guess-a-number-bot 2020-03-09 14:01:45 +06:00
Temirkhan Myrzamadi
2374b5c2d3 Add examples/shared_state_bot 2020-03-04 14:15:23 +06:00
Temirkhan Myrzamadi
fb6e295447 Fix the examples 2020-02-23 19:36:31 +06:00
p0lunin
1f1234c9bf fixed examples 2020-02-23 14:18:21 +02:00
p0lunin
61f06a5e7a fixed documentation 2020-02-22 22:53:11 +02:00
Temirkhan Myrzamadi
e0d0e22ea6 Fix a typo 2020-02-19 21:19:22 +06:00
Temirkhan Myrzamadi
332da2c3dd Simplify .commands() 2020-02-19 16:05:01 +06:00
Temirkhan Myrzamadi
46b20f676e Add DispatcherHandlerRxExt 2020-02-19 15:53:54 +06:00
Temirkhan Myrzamadi
d6d08bb501
Update README.md 2020-02-19 07:45:34 +06:00
Temirkhan Myrzamadi
9c67500d29
Update README.md 2020-02-19 05:17:40 +06:00
Temirkhan Myrzamadi
295a42b033
Update README.md 2020-02-19 05:13:47 +06:00
Temirkhan Myrzamadi
fa554a8252 Fixes 2020-02-19 04:54:41 +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