Commit graph

424 commits

Author SHA1 Message Date
Hirrolot
1b565525b1 Fix missing #[tokio::main] in README.md 2022-04-27 15:47:33 +06:00
Hirrolot
deb992c787 Deprecate teloxide::handler! in favour of dptree::case! 2022-04-27 15:16:34 +06:00
Hirrolot
5723d7b9b7 Harmonise example bot initial logs
Former-commit-id: b8c3f48c7f
2022-04-27 01:00:08 +06:00
Hirrolot
34ebbe6bef examples/dices.rs => examples/throw_dice.rs
Former-commit-id: 2537f06464
2022-04-27 00:56:51 +06:00
Hirrolot
bbb3ac6e2d examples/simple_commands.rs=> examples/command.rs
Former-commit-id: 5ecfd3d810
2022-04-27 00:54:37 +06:00
Hirrolot
f818687cd0 Rename demo GIFs
Former-commit-id: 035b3c3bc8
2022-04-27 00:52:30 +06:00
Studiedlist
3d40b1b0e9
add studiedlist/EddieBot to bot list 2022-04-25 12:55:54 +03:00
Hirrolot
4a4990e207 Update the FAQ 2022-04-22 23:50:19 +06:00
Maybe Waffle
cfaa71632c Document and check the MSRV in CI 2022-04-20 23:33:44 +04:00
Hirrolot
4ee174126d Merge conflicts 2022-04-18 16:50:02 +06:00
Hirrolot
52ba62d3fc Release v0.8.0 2022-04-18 16:32:46 +06:00
Waffle Maybe
5ec223f43a
Merge pull request #591 from teloxide/doc_changes
Doc changes
2022-04-17 19:52:24 +04:00
Maybe Waffle
fc509912ff Remove dev-branch docs 2022-04-14 14:35:24 +04:00
Mattia Righetti
2bcc229e8f
Add Libegen bot to examples in README 2022-04-13 14:46:48 +02:00
Waffle Maybe
1e6bf831d8
change the link and wording about the vuln in the readme 2022-04-03 23:09:20 +04:00
Maybe Waffle
99c8995bb3 Release 0.7.3 2022-04-03 16:19:17 +04:00
Hirrolot
5838b31834 Capture identifier in format strings (examples/) 2022-04-03 16:06:44 +06:00
Hirrolot
9bb2a85aba Merge branch 'dev' into teloxide-handler 2022-04-02 21:32:59 +06:00
Hirrolot
56c1c55f88 Update README.md 2022-04-02 15:51:59 +06:00
Hirrolot
fa5d1f738b Remove support for the old dispatching 2022-03-29 01:55:09 +06:00
Maybe Waffle
484d1ccd83 Fixup documentation 2022-03-27 22:10:50 +04:00
Hirrolot
363e0bff18 Update the examples to use teloxide::handler! 2022-03-26 14:57:30 +06:00
Hirrolot
f5653c747d Remove support for the old dispatching 2022-03-24 17:25:42 +06:00
Hirrolot
7aa0439afd Release v0.7.2 2022-03-22 11:40:53 +06:00
Maybe Waffle
22e5165f89 Remove mentions of enable_logging! from documentation/readme 2022-03-21 19:42:55 +04:00
Anony
8ae3eb9b71
Fix the unintentional bracket in the docs badge url 2022-02-28 23:20:24 +05:30
Devon Sawatsky
e1988d1f88
Fix minor typo/grammar 2022-02-23 10:13:24 -08:00
Hirrolot
0917632e55
Merge pull request #524 from alhuelamo/fix/readme-example-links
Fixed broken example links on the Readme
2022-02-13 17:03:18 +06:00
alhuelamo
0591e7834a Correct links 2022-02-13 11:52:31 +01:00
alhuelamo
977f0491e1 Fixed webhook examples links on readme 2022-02-13 11:50:33 +01:00
Mattia Righetti
9af44d41ff
Move bot higher in README list 2022-02-10 14:55:36 +01:00
Mattia Righetti
d553f7b509
Fixed bot link 2022-02-10 13:16:45 +01:00
Mattia Righetti
ea041f67e1
Add GroupActivityBot example 2022-02-10 13:14:43 +01:00
Hirrolot
30d37741e4 Release v0.7.0 2022-02-09 08:38:57 +06:00
Hirrolot
dbc7eb0150
Update the version in the README 2022-02-06 18:30:08 +06:00
Hirrolot
9eac077ecd Release v0.6.0 2022-02-06 17:47:56 +06:00
Hirrolot
9f60483389 Fix the link to the v0.5 -> v0.6 migration guide 2022-02-06 17:34:57 +06:00
Hirrolot
b0e5a4a0e6 Write the migration guide for v0.6 2022-02-05 14:26:05 +06:00
Hirrolot
d4a4719b58 Simplify examples/dispatching2_features.rs 2022-02-05 00:53:55 +06:00
Hirrolot
b66beef534 Explain handler params in examples/dialogue.rs 2022-02-04 20:21:16 +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
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
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
242bfef885 Fix merge conflicts 2022-02-03 20:39:32 +06:00
Alex
47e3bdab56 move alexkonovalov/PedigreeBot to top 3 in README 2022-02-01 17:34:56 +02:00
Alex
8cfd457016 added alexkonovalov/PedigreeBot 2022-02-01 16:24:03 +02:00
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
72dfef4963 added DialogueState macro 2021-12-29 13:33:51 +02: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
alenpaul2001
a8e0b02153
added alenpaul2001/AurSearchBot 2021-12-03 13:11:39 +05:30
Reinaldo Antonio Camargo Rauch
ed7aa91d22 fix example's Cargo.toml 2021-11-16 23:30:49 -03:00
crapStone
8030338444
fix link
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2021-11-14 12:07:14 +01:00
crapStone
8e417eab40
add crapstone/hsctt 2021-11-08 15:02:43 +01:00
Alex Black
31488d2888
Use a shorter description for a nice look
Without wrapping the description to the next line
2021-10-12 12:05:25 +03:00
Hirrolot
87b621e018
Merge branch 'dev' into Hirrolot-patch-1 2021-10-12 13:12:48 +06:00
Hirrolot
47c85399db Add wa7sa34cx/the-black-box-bot 2021-10-12 13:11:56 +06:00
meguminloli
f3fa74a3be updated README.md 2021-10-12 13:11:56 +06:00
YesSeri
aebb1a2d6c Update README.md 2021-10-12 13:11:56 +06:00
Maybe Waffle
56e7b6feb2 Add auto-send to the list of default features 2021-10-10 14:47:21 +03:00
meguminloli
ae80c9455f updated README.md 2021-09-11 21:30:34 +03:00
YesSeri
029f7303c7
Update README.md 2021-08-25 20:48:08 +02:00
Hirrolot
b45bc081d2
Merge branch 'dev' into Hirrolot-patch-1 2021-08-21 22:39:17 -07:00
Hirrolot
e2db85e162
Paraphrase magnickolas/remindee-bot 2021-08-22 11:37:16 +06:00
Hirrolot
06ad93b3ce
Merge pull request #428 from teloxide/add_crate_upd_bot_to_community_bots_list
Add WaffleLapkin/crate_upd_bot to `Community bots` list
2021-08-19 22:49:46 -07:00
Cyber Knight
d8a8648911
Add cyberknight777/knight-bot to community bots
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2021-08-20 13:24:24 +08:00
Waffle Lapkin
d3906476e9
Add WaffleLapkin/crate_upd_bot to Community bots list 2021-08-20 01:32:55 +03:00
Hirrolot
7db222ace7
Add more community bots 2021-08-06 00:51:09 +06:00
Hirrolot
cdfadb3517
Update README.md
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-07-08 02:43:40 -07:00
Hirrolot
3e59041f9b
Italicise the migration guide link (README.md) 2021-07-08 15:26:49 +06:00
Hirrolot
f85c771590 Point to the migration guide from README.md 2021-07-08 15:24:55 +06:00
Hirrolot
674b1f974a Prepare for v0.5.0 2021-07-08 15:22:13 +06:00
dracarys18
d97dfa3058 add community bot: dracary18/grpmr-rs
Signed-off-by: dracarys18 <karthihegde010@gmail.com>
2021-06-22 11:37:07 +05:30
Robin Lange
e3a3c1ed50
README: enable the "macros" feature in the quickstart Cargo.toml
The "commands" example later in the README does not compile without it.
2021-05-29 16:48:00 +10:00
Hirrolot
86515b13ed
Add more community bots 2021-05-25 09:00:52 +06:00
Hirrolot
c3bcdca549 Don't use .send() in examples/simple_commands_bot 2021-05-20 21:37:53 +06:00
Temirkhan Myrzamadi
bc9972bdf2 Move the features section to lib.rs 2021-04-05 19:48:56 +06:00
ukewea
0c7c9232a5
Fix a typo in the Cargo.toml example in README
The current example will cause warnings while compiling:
    warning: dependency (teloxide) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
    warning: unused manifest key: dependencies.teloxide.verison

By fixing the typo we can get rid of them.
2021-04-02 20:13:13 +08:00
Hirrolot
3e2548cd1d
Specify the 'auto-send' feature in README.md 2021-03-29 20:10:52 +06:00
Hirrolot
b4eea72203
Fix the usage of Tokio in deps (README.md) 2021-03-28 00:02:19 +06:00
Hirrolot
f8192a24a7
Merge pull request #335 from teloxide/change-tg-vimhelpbot-url
Provide new url for tg-vimhelpbot
2021-03-26 13:49:47 -07:00
Maximilian Siling
94a2151775 Merge branch 'dev' into change-tg-vimhelpbot-url 2021-03-26 23:36:09 +03:00
Hirrolot
0322a19a48
Enhance README.md 2021-03-27 02:29:40 +06:00
Hirrolot
6885e4ab3a
Merge pull request #352 from teloxide/updating-guide-v0.4.0
Embed an updating guide to v0.4.0 (README.md)
2021-03-26 10:35:23 -07:00
Hirrolot
ffdc7043c4
Update README.md 2021-03-26 10:29:17 -07:00
Hirrolot
31eda80da0
Update README.md 2021-03-26 10:22:19 -07:00
Hirrolot
13e4bdb4e7
Apply review suggestions 2021-03-24 04:20:28 +06:00
Hirrolot
934ee94a5e Get ready for v0.4.0 (#347)
* Get ready for v0.4.0

* Export teloxide_macros as macros in lib.rs

* Use tokio v1.3 in README.md

* Return the feature 'macros' back

* Export teloxide_macros::teloxide in the prelude

* Document the 'macros' feature in README.md

* Update src/lib.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Update src/prelude.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Propagate features from teloxide-core

* teloxide-core = 0.2.1

* Fix CI

* Require teloxide-core/auto_send instead of teloxide/auto-send

* default-features = false (teloxide-core)

* Specify each teloxide-core feature separately

* Fix Cargo.toml

* JSON -> Json, CBOR -> Cbor

* Update Cargo.toml

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
09cca0faff Use Box<dyn Error + Send + Sync> in the examples 2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
239ff94c0e Fix this fucking bullshit 2021-03-21 21:00:58 -04:00
Hirrolot
60618cbdb5
Embed an updating guide to v0.4.0 (README.md) 2021-03-22 01:27:37 +06:00
Hirrolot
8522759e68
Get ready for v0.4.0 (#347)
* Get ready for v0.4.0

* Export teloxide_macros as macros in lib.rs

* Use tokio v1.3 in README.md

* Return the feature 'macros' back

* Export teloxide_macros::teloxide in the prelude

* Document the 'macros' feature in README.md

* Update src/lib.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Update src/prelude.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Propagate features from teloxide-core

* teloxide-core = 0.2.1

* Fix CI

* Require teloxide-core/auto_send instead of teloxide/auto-send

* default-features = false (teloxide-core)

* Specify each teloxide-core feature separately

* Fix Cargo.toml

* JSON -> Json, CBOR -> Cbor

* Update Cargo.toml

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 18:34:23 +06:00
Temirkhan Myrzamadi
86253edc92 Use Box<dyn Error + Send + Sync> in the examples 2021-03-19 17:58:22 +06:00
Temirkhan Myrzamadi
36b314cdfc Fix this fucking bullshit 2021-03-13 23:35:48 +06:00