p0lunin
a8098350fc
Merge branch 'dev' into dispatching2
...
# Conflicts:
# Cargo.toml
# examples/dialogue_bot/Cargo.toml
# examples/inline_bot/src/main.rs
# src/dispatching/mod.rs
# src/lib.rs
2022-01-06 14:25:01 +02:00
p0lunin
ca1c1f3e33
update teloxide_macros dependency + update examples and tests using BotDialogue
derive macro
2022-01-06 14:11:53 +02:00
p0lunin
d6e439b0cf
update simple_commands_bot example
2022-01-06 14:04:09 +02:00
p0lunin
593dbc29f7
update shared_state_bot example
2022-01-06 13:59:50 +02:00
p0lunin
980aab5fd0
update redis_remember_bot example
2022-01-06 13:59:40 +02:00
p0lunin
0eb9314c71
update ngrok_bot example
2022-01-06 13:34:38 +02:00
p0lunin
9892096027
update inline_bot example
2022-01-06 13:30:27 +02:00
p0lunin
dac969250d
update rest of handlers in the Dispatcher
2022-01-05 20:33:48 +02:00
p0lunin
e0d2d141f0
update dices_bot example
2022-01-05 20:23:20 +02:00
p0lunin
18afd9a95e
update heroku_ping_pong example
2022-01-05 20:20:02 +02:00
Waffle Maybe
9d062f62ce
Merge pull request #488 from teloxide/update-license-year-2022
...
Update the license year to 2022
2022-01-02 00:12:39 +03:00
Hirrolot
4b2d223bcd
Update the license year
2022-01-02 02:52:34 +06:00
p0lunin
e2891d6d00
remove #[out()] attribute
2021-12-29 14:21:37 +02:00
p0lunin
72dfef4963
added DialogueState macro
2021-12-29 13:33:51 +02:00
p0lunin
6c0f1b9fc4
Added handler_factory.rs
2021-12-28 18:24:56 +02:00
p0lunin
600330f827
remove state.rs file
2021-12-27 17:23:37 +02:00
Hirrolot
2c2cfae0e0
Merge branch 'dispatching2' of https://github.com/teloxide/teloxide into dispatching2
2021-12-27 21:13:57 +06:00
Hirrolot
b253b7eec2
Don't define async fn run()
...
rustc now emits enough good compiler error messages for procedural macros such as `#[tokio::main]`.
2021-12-27 21:13:46 +06:00
p0lunin
50f37cf43b
update dialogue_bot example
2021-12-27 17:12:31 +02:00
p0lunin
b10288f751
remove unused imports
2021-12-26 20:06:21 +02:00
p0lunin
161d40897c
Merge remote-tracking branch 'origin/dispatching2' into dispatching2
...
# Conflicts:
# Cargo.toml
# examples/sqlite_remember_bot/src/main.rs
# src/dispatching2/dispatcher.rs
# src/dispatching2/repls/commands_repl.rs
2021-12-26 20:03:21 +02:00
p0lunin
51d6a2e900
Update admin_bot example.
2021-12-26 19:59:32 +02:00
p0lunin
4452631fcc
fix repls
2021-12-26 19:59:13 +02:00
p0lunin
a644d0b6d2
added handler_ext.rs, updated dptree version
2021-12-26 16:55:24 +02:00
Hirrolot
15a2beceb5
Merge pull request #484 from teloxide/remove-authors
...
Remove the `authors` field from `Cargo.toml`
2021-12-25 02:55:32 +06:00
Hirrolot
e12b644e31
Remove the authors
field from Cargo.toml
2021-12-24 21:25:51 +06:00
Hirrolot
ba7c3ed35b
Remove unused imports
2021-12-24 10:42:08 +06:00
Hirrolot
957bff44b9
Update dptree
2021-12-24 10:41:28 +06:00
Hirrolot
47445cb7b0
Merge pull request #483 from luminosoda/patch-1
...
crates.io no longer shows badges
2021-12-21 18:39:00 +06:00
Andrew
2dba0aa2f0
crates.io no longer shows badges
2021-12-21 15:35:48 +05:00
Hirrolot
4958f0dae7
Update dptree
2021-12-21 12:11:41 +06:00
p0lunin
6959d1c928
added dialogues + updated sqlite_remember_bot example.
2021-12-15 13:46:32 +02:00
p0lunin
3f1d1360c6
fmt
2021-12-11 13:11:44 +02:00
p0lunin
635c18142a
1. Bump futures to 0.3.15 version (Abortable::is_aborted()).
...
2. Fix simple_commands_bot example.
2021-12-11 13:11:25 +02:00
p0lunin
4752b22c43
1. Change feature dispatching2 -> old_dispatching.
...
2. Added command repls.
3. Added function BotCommand::ty() due to new restrictions in the command repls.
2021-12-11 12:46:44 +02:00
p0lunin
e53f9eb2b3
use new system in the dice example
2021-12-03 16:02:57 +02:00
Hirrolot
d742701c3b
Merge pull request #474 from alenpaul2001/dev
...
added alenpaul2001/AurSearchBot
2021-12-03 13:50:08 +06:00
alenpaul2001
a8e0b02153
added alenpaul2001/AurSearchBot
2021-12-03 13:11:39 +05:30
p0lunin
93ed028e44
added dispatching2
feature, implemented standard repls
2021-11-25 13:44:55 +02:00
p0lunin
14083c8300
Many improvements of Dispatcher
, also made many dispatcher::*
methods and types pub(crate) for using in dispatching2 module
2021-11-25 12:59:54 +02:00
Hirrolot
595806f330
Merge pull request #472 from reinaldorauch/fix-readme
...
fix example's Cargo.toml
2021-11-19 21:46:08 +06:00
Reinaldo Antonio Camargo Rauch
ed7aa91d22
fix example's Cargo.toml
2021-11-16 23:30:49 -03:00
Hirrolot
8ac3c388d1
Merge pull request #469 from crapstones-forks/add-hsctt
...
add crapstone/hsctt
2021-11-15 00:28:33 +06:00
crapStone
8030338444
fix link
...
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2021-11-14 12:07:14 +01:00
p0lunin
887b24d27f
Initial commit.
...
1. Added `dptree` dependency.
2. Added `dispatching2` module.
2. Added `Dispatcher` and `Handlers` types, which is similar to `dispatching::Dispatcher` type.
2021-11-13 12:35:56 +02:00
crapStone
8e417eab40
add crapstone/hsctt
2021-11-08 15:02:43 +01:00
Hirrolot
7947293213
Merge pull request #466 from teloxide/master-to-dev-1
...
Bring latest `master` hotfix to `dev`
2021-11-01 10:14:04 +06:00
Hirrolot
cf56b3bfda
Merge pull request #467 from teloxide/pin-ci-tooling
...
Pin tooling in the CI to a specific version
2021-10-25 21:22:35 +06:00
Waffle Maybe
088a51cb5f
Pin tooling in the CI to a specific version
...
Both Clippy and Rustfmt are pinned to the current latest version (2021-10-24)
2021-10-25 17:39:26 +03:00
Waffle Maybe
fb238ff656
Merge branch 'dev' into master-to-dev-1
2021-10-25 17:17:42 +03:00