Hirrolot
|
e4fb3a711d
|
Merge pull request #470 from teloxide/dispatching2
Dispatching 2.0
|
2022-02-05 02:51:16 +06:00 |
|
Hirrolot
|
42e1cd2cd1
|
Update an example in src/dispatching2/mod.rs
|
2022-02-05 02:43:12 +06:00 |
|
Hirrolot
|
b4aa3a4504
|
Move storage back to dispatching
|
2022-02-05 02:37:01 +06:00 |
|
Hirrolot
|
5909e48e11
|
Deprecate the old dispatching system
|
2022-02-05 02:33:03 +06:00 |
|
Hirrolot
|
07b844db99
|
Add BotCommand::bot_commands
|
2022-02-05 02:18:47 +06:00 |
|
Hirrolot
|
bde566825f
|
Fix the goddamn CI
|
2022-02-05 01:13:44 +06:00 |
|
Hirrolot
|
6eb243170c
|
Update rust-toolchain.toml
|
2022-02-05 01:11:38 +06:00 |
|
Hirrolot
|
3f711b0d80
|
Revert "Update rustfmt on the CI"
This reverts commit 0dce872a9a .
|
2022-02-05 01:11:26 +06:00 |
|
Hirrolot
|
0dce872a9a
|
Update rustfmt on the CI
|
2022-02-05 01:10:01 +06:00 |
|
Hirrolot
|
735e6a41f2
|
Replace CARGO_PKG_NAME with CARGO_CRATE_NAME in logging
|
2022-02-05 01:07:28 +06:00 |
|
Hirrolot
|
c2c9620b48
|
Remove redundant examples from src/logging.rs
|
2022-02-05 01:01:24 +06:00 |
|
Hirrolot
|
d4a4719b58
|
Simplify examples/dispatching2_features.rs
|
2022-02-05 00:53:55 +06:00 |
|
Hirrolot
|
108d7b7d94
|
Update examples/dispatching2_features.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
|
2022-02-05 00:33:28 +06:00 |
|
Hirrolot
|
08380790b8
|
Fix the docs of HandlerFactory
|
2022-02-05 00:32:12 +06:00 |
|
Hirrolot
|
ef323889db
|
Fix the docs of the Heroku example
|
2022-02-05 00:31:13 +06:00 |
|
Hirrolot
|
aade493391
|
Update the docs of dialogue/mod.rs
|
2022-02-05 00:26:40 +06:00 |
|
Hirrolot
|
539c53abde
|
Log errors in HandlerExt::enter_dialogue
|
2022-02-05 00:25:18 +06:00 |
|
Hirrolot
|
67901fa53b
|
Update dptree
|
2022-02-05 00:02:22 +06:00 |
|
Hirrolot
|
bd73d79e80
|
Reuse dispatching::dialogue::storage
|
2022-02-04 22:54:12 +06:00 |
|
Hirrolot
|
a59b3a7957
|
Make default_handler a closure
|
2022-02-04 22:32:06 +06:00 |
|
Hirrolot
|
123ac1ec67
|
Make UpdateFilterExt and MessageFilterExt sealed
|
2022-02-04 22:01:50 +06:00 |
|
Hirrolot
|
d538c61b1c
|
tests/bot_dialogue.rs => tests/dialogue_state.rs
|
2022-02-04 21:00:06 +06:00 |
|
Hirrolot
|
24917a60d4
|
Use #[derive(BotCommand)] in examples/sqlite_remember.rs and examples/redis_remember.rs
|
2022-02-04 20:59:46 +06:00 |
|
Hirrolot
|
b66beef534
|
Explain handler params in examples/dialogue.rs
|
2022-02-04 20:21:16 +06:00 |
|
Hirrolot
|
09c3424097
|
Replace lazy_static with once_cell
|
2022-02-04 20:14:57 +06:00 |
|
Hirrolot
|
9efa2f6cbd
|
DispatcherBuilder::new => Dispatcher::builder
|
2022-02-04 20:09:53 +06:00 |
|
Hirrolot
|
a5d8a36f2c
|
Merge conflicts in README
|
2022-02-04 20:01:27 +06:00 |
|
Hirrolot
|
e5330cdec2
|
HandlerExt::add_dialogue => HandlerExt::enter_dialogue
|
2022-02-04 20:00:21 +06:00 |
|
Hirrolot
|
8eb8e3c720
|
Move DialogueHandlerExt::add_dialogue to HandlerExt
|
2022-02-04 19:53:15 +06:00 |
|
Hirrolot
|
0000839144
|
HandlerExt::add_command => HandlerExt::filter_command
|
2022-02-04 19:46:34 +06:00 |
|
Hirrolot
|
5a00e970e4
|
.chat_id() => .chat.id
|
2022-02-04 19:45:35 +06:00 |
|
Hirrolot
|
ec9f701cf7
|
Revert ".chat_id() => .chat_id "
This reverts commit 26a28b1918 .
|
2022-02-04 19:44:04 +06:00 |
|
Hirrolot
|
86ae23194d
|
Mention GH Discussions
|
2022-02-04 19:40:39 +06:00 |
|
Hirrolot
|
26a28b1918
|
.chat_id() => .chat_id
|
2022-02-04 19:38:06 +06:00 |
|
Hirrolot
|
ee3854c9a3
|
Merge branch 'dispatching2' of https://github.com/teloxide/teloxide into dispatching2
|
2022-02-04 19:09:43 +06:00 |
|
Hirrolot
|
879560f34a
|
Fix the fixes
|
2022-02-04 19:09:32 +06:00 |
|
Hirrolot
|
47cc80d63e
|
Update examples/buttons.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
|
2022-02-04 16:46:26 +06:00 |
|
Hirrolot
|
9306f6d484
|
Update src/dispatching2/dispatcher.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
|
2022-02-04 16:43:52 +06:00 |
|
Hirrolot
|
4259dcce7b
|
Set teloxide-core to v0.4
|
2022-02-04 09:59:14 +06:00 |
|
Hirrolot
|
263478a20a
|
Simplify examples/dialogue.rs
|
2022-02-04 09:58:56 +06:00 |
|
Hirrolot
|
7837db4201
|
Update the rest of README
|
2022-02-04 09:47:15 +06:00 |
|
Hirrolot
|
d48659b93e
|
Update examples in the README
|
2022-02-04 09:40:15 +06:00 |
|
Hirrolot
|
6ad7a5b0a2
|
Fix Clippy
|
2022-02-03 20:48:40 +06:00 |
|
Hirrolot
|
242bfef885
|
Fix merge conflicts
|
2022-02-03 20:39:32 +06:00 |
|
Hirrolot
|
dedb1c85e1
|
Add high-level documentation
|
2022-02-03 20:27:45 +06:00 |
|
Hirrolot
|
d4fbaa74c4
|
Some tiny documentation tweaks
|
2022-02-03 16:38:54 +06:00 |
|
Hirrolot
|
3307a0915c
|
Use .setup_ctrlc_handler() in the examples
|
2022-02-03 16:34:40 +06:00 |
|
Hirrolot
|
f97d699f74
|
Remove .unwrap s in examples/dialogue.rs
|
2022-02-03 16:32:11 +06:00 |
|
Hirrolot
|
d89eeb5847
|
Make setup_ctrlc_handler return &mut Self
|
2022-02-03 12:48:02 +06:00 |
|
Hirrolot
|
b11e5fdd19
|
Rewrite examples/redis_remember.rs & examples/sqlite_remember.rs
|
2022-02-03 03:36:53 +06:00 |
|