Commit graph

126 commits

Author SHA1 Message Date
Temirkhan Myrzamadi
f67d960d43 Make a test in examples/dialogue_bot 2020-07-23 21:40:36 +06:00
Temirkhan Myrzamadi
23aa260d68 Extract Bot from Arc 2020-07-17 16:04:25 +06:00
Temirkhan Myrzamadi
31ac9bd984 Show strongly typed behaviour in examples/simple_commands_bot 2020-07-07 01:20:09 +06:00
Temirkhan Myrzamadi
56dadfbb34 Return Arc<RedisServer> 2020-07-04 21:02:07 +06:00
Temirkhan Myrzamadi
33910864c7
Merge branch 'master' into redis 2020-07-04 20:34:07 +06:00
p0lunin
4ceb1253dd Merge branch 'master' of https://github.com/teloxide/teloxide into commands
 Conflicts:
	examples/admin_bot/src/main.rs
	examples/simple_commands_bot/src/main.rs
	src/dispatching/dispatcher_handler_rx_ext.rs
2020-07-03 20:11:25 +03:00
p0lunin
c61e3eb8d3 fix example 2020-07-03 20:00:05 +03:00
p0lunin
eb638e9ff5 parallelize test examples 2020-07-03 16:52:36 +03:00
p0lunin
e44f0786d8 revert test_examples.sh 2020-07-03 16:37:05 +03:00
p0lunin
8158cf7347 changed check of examples 2020-07-02 16:17:40 +03:00
Temirkhan Myrzamadi
9efacfeb59 Prettify redis_remember_bot 2020-07-01 19:46:28 +06:00
Temirkhan Myrzamadi
c0582e001d Remove redundant format! 2020-07-01 19:30:10 +06:00
Temirkhan Myrzamadi
03ab247262 Update redis_remember_bot 2020-07-01 19:25:10 +06:00
Temirkhan Myrzamadi
fb6156a3b9
Merge branch 'master' into redis 2020-07-01 18:53:39 +06:00
Temirkhan Myrzamadi
0ac679c443 Remove the frunk dependency 2020-07-01 18:52:53 +06:00
Temirkhan Myrzamadi
ee9166999a Remove a redundant import 2020-06-26 18:47:42 +06:00
Temirkhan Myrzamadi
37a0ac8ef8
Merge branch 'master' into redis 2020-06-26 18:42:17 +06:00
Temirkhan Myrzamadi
eabc77caab Remove wrap_dialogue! 2020-06-26 18:18:31 +06:00
p0lunin
e336221c7b updated simple_commands_bot example 2020-06-24 20:46:23 +03:00
p0lunin
33f92f9ea0 updated admin_command example 2020-06-24 20:43:21 +03:00
Temirkhan Myrzamadi
7a232a4c51
Merge branch 'master' into redis 2020-06-19 08:55:19 +03: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
Maximilian Siling
c58aa22f7b Simpler example for Redis 2020-04-19 20:48:36 +03:00
Maximilian Siling
82d0958c91 Make Serializer a trait, so anyone can implement it 2020-04-19 20:09:00 +03:00
Temirkhan Myrzamadi
478e7038a6
Merge branch 'master' into redis 2020-04-19 19:27:03 +03:00
Maximilian Siling
a67d896d26 Don't reconnect to Redis every time 2020-04-19 19:24:24 +03:00
Maximilian Siling
798102a7d7 Add Redis storage & example bot using it 2020-04-19 18:31:23 +03: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