Commit graph

59 commits

Author SHA1 Message Date
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
Temirkhan Myrzamadi
67a781fb20 Modify examples/simple_commands_bot 2020-02-14 04:35:36 +06:00
Temirkhan Myrzamadi
141ad17181 Refactor 2020-02-14 04:09:46 +06:00
Temirkhan Myrzamadi
8c5b1d3db0 Fix examples/simple_commands_bot 2020-02-14 03:48:26 +06:00
Temirkhan Myrzamadi
7a582256ef Fix a typo in examples/simple_commands_bot 2020-02-14 03:26:46 +06:00
Temirkhan Myrzamadi
2147ba2048 Add examples/simple_commands_bot 2020-02-14 03:23:41 +06:00
Temirkhan Myrzamadi
027b80f19b Add examples/guess_a_number_bot 2020-02-14 02:00:54 +06:00
Temirkhan Myrzamadi
dad05955d1 Add descriptions to examples/README.md 2020-02-14 01:59:02 +06:00
Temirkhan Myrzamadi
5278041927 Rename commands_bot -> admin_bot 2020-02-14 00:29:26 +06:00
Temirkhan Myrzamadi
b6cd019682 Add TODO to examples/commands_bot 2020-02-14 00:26:06 +06:00
Temirkhan Myrzamadi
e3a032abff And again! 2020-02-14 00:23:42 +06:00
Temirkhan Myrzamadi
9f2aa741f7 SImplify examples/commands_bot for a little bit 2020-02-14 00:20:22 +06:00
Temirkhan Myrzamadi
fc36cf142a Fix a typo in examples/dialogue_bot 2020-02-14 00:17:31 +06:00
Temirkhan Myrzamadi
fa5b725681 Add a description to examples/multiple_handlers_bot 2020-02-14 00:15:10 +06:00
Temirkhan Myrzamadi
5d0db21fca Fix examples/commands_bot 2020-02-14 00:11:56 +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
p0lunin
c9f811a311 fixed example and added documentation 2020-02-13 17:42:24 +02: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
ad0e241195 Add examples/README.md 2020-02-13 14:57:47 +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
p0lunin
6de0c24ed2 Merge remote-tracking branch 'origin/rework-dispatching' into rework-dispatching 2020-02-12 16:08:39 +02:00
p0lunin
4058126665 fixed example admin_bot 2020-02-12 16:08:15 +02:00
Temirkhan Myrzamadi
3aeb9c4295 Update examples/simple_dialogue 2020-02-12 16:56:58 +06:00
Temirkhan Myrzamadi
26d721d928 Add comments to examples/ping_pong_bot 2020-02-12 16:34:38 +06:00
Temirkhan Myrzamadi
8d71825511 Update the token 2020-02-12 15:56:14 +06:00
Temirkhan Myrzamadi
9cab5e45f3 Implement a type-safe finite automaton (examples/simple_dialogue) 2020-02-12 15:55:36 +06:00
Temirkhan Myrzamadi
dce662064f Fix update_listeners 2020-02-12 04:50:10 +06:00
p0lunin
2a43678974 added example 2020-02-11 21:35:22 +02:00
Temirkhan Myrzamadi
4b0dea21f1 Hot fixes 2020-02-11 19:12:14 +06:00
Temirkhan Myrzamadi
d803d8197a Add TODO (examples/simple_dialogue) 2020-02-11 16:58:32 +06:00
Temirkhan Myrzamadi
0ae2d975df Add the state! macro 2020-02-11 04:04:57 +06:00
Temirkhan Myrzamadi
afb6677a1e Rename User -> UserInfo in examples/simple_dialogue 2020-02-11 03:51:50 +06:00
Temirkhan Myrzamadi
9525414f8d Simplify examples/simple_dialogue 2020-02-11 03:13:09 +06:00
Temirkhan Myrzamadi
bde4d09e5d Add dialogue::{next, exit} 2020-02-11 02:54:08 +06:00
Temirkhan Myrzamadi
17de4840d7 Refactor 2020-02-04 21:38:25 +06:00
Temirkhan Myrzamadi
4002d8fbbc Fix simple_fsm 2020-02-03 20:53:12 +06:00
Temirkhan Myrzamadi
32d607daa9 Fix ping-pong-bot 2020-02-03 01:12:36 +06:00
Temirkhan Myrzamadi
2c4102e2b3 Simplify building ReplyKeyboardMarkup 2020-02-03 00:54:11 +06:00
Temirkhan Myrzamadi
f436a0269b Add lto=true to ping_pong_bot for releases 2020-02-02 22:44:48 +06:00