Commit graph

451 commits

Author SHA1 Message Date
Hirrolot
563c56ef3a Fix a code typo in README.md
Former-commit-id: a3116bb0d6
2022-10-03 18:01:24 +06:00
Hirrolot
53be9d0e92 Reorder parameters in the examples
In reordering the parameters, I stick the following principle: place parameters from least changing to most changing. Thus, we have config and bot right from the beginning, next a dialogue with a possible payload, and next updates such as messages, inline queries, etc. This principle is used in languages with a native support for currying, although in Rust people appear to order parameters arbitrarily, so this commit is mostly for the sake of consistency.


Former-commit-id: 5922984f6c
2022-10-03 17:54:06 +06:00
Hirrolot
b0feab6e9a Use RequestError in REPLs
Former-commit-id: cde6827cee
2022-10-02 21:44:04 +06:00
Hirrolot
8bb502d91c Update the number of repos dependant on teloxide
Former-commit-id: d1bef5112e
2022-10-01 17:11:15 +06:00
Hirrolot
05501015ee Stop using AutoSend in the examples and docs
Former-commit-id: 00efbe163a
2022-09-29 09:37:20 +06:00
Hirrolot
5fac8bc513 Update the 'Community bots' section with GitHub dependents
Former-commit-id: 24d90fcdc8
2022-07-22 20:03:57 +06:00
Maybe Waffle
d97646b38b Fix image paths in readme
Former-commit-id: b0bfbcbc72
2022-07-22 13:47:10 +04:00
Hirrolot
e769deff85 Remove ArtHome12/vzmuinebot from outdated bots
I think it was added by mistake since it uses teloxide v0.9.2, which is a relatively new version.

Former-commit-id: ecf0c36356
2022-07-21 20:15:44 +06:00
Maybe Waffle
11231655c2 Move ctrlc handler enable function to DispatcherBuilder
This helps with consistency -- every setting is changed in builder.
Also `Self -> Self` function sometimes plays more nicely with borrowck.


Former-commit-id: dd4af30727
2022-07-21 13:32:05 +04:00
Hirrolot
378acfc17a Put community bots with old teloxide into a hidden section
Former-commit-id: 92abc22613
2022-07-21 14:51:22 +06:00
Hirrolot
b6c6e3e1ee Add zamazan4ik/npaperbot-telegram to community bots
Former-commit-id: ca85dfff16
2022-07-21 14:28:26 +06:00
Hirrolot
31cfca1615 Update the API coverage badge
Former-commit-id: 7e6c04643f
2022-07-20 20:13:44 +06:00
Hirrolot
e212765847 Drop community bots using old versions of teloxide
Also, prettify the list representation a little bit.

Former-commit-id: d2cb46382c
2022-07-20 20:11:55 +06:00
Maybe Waffle
1b2b1ee30c update faq
Former-commit-id: 4af32d21eb
2022-07-19 14:54:01 +04:00
Maybe Waffle
a7eff7192b bump version
Former-commit-id: 6996c7ff87
2022-07-19 14:53:42 +04:00
Raine Virta
651526f2c0 Add tgreddit to Community Bots
Former-commit-id: 9fc68dc73f
2022-07-07 22:05:31 +02:00
Hirrolot
3dfd861299 Fix GIFs resizing in README.md
Former-commit-id: d232319dfa
2022-06-27 01:57:27 +06:00
Hirrolot
f33499da32 Update README.md
Former-commit-id: ef0b2f2795
2022-06-22 15:26:23 +06:00
0xNima
2f880395b9 update community bots
Former-commit-id: 174b64e6f4
2022-06-17 18:21:04 +04:30
Alexander Danilov
5a103ed354 Add modos189/tg_blackbox_bot
Former-commit-id: ecef7ec8cc
2022-06-16 21:19:03 +03:00
Hirrolot
b7cfd7f666 Update other doc places
Former-commit-id: 5b2b7c23f7
2022-05-26 23:26:53 +06:00
Hirrolot
0d5efcbdf1 Improve README.md
Former-commit-id: 2d2be5759e
2022-04-28 03:08:25 +06:00
Hirrolot
f06d5624d3 Change the path to ICON.png
Previously it didn't show on crates.io.


Former-commit-id: 3a10c32183
2022-04-27 21:44:07 +06:00
Hirrolot
29769b23cf Resize the GIFs to 420px width
Former-commit-id: 5a55789492
2022-04-27 21:40:27 +06:00
Hirrolot
306cf91e6a Update the README.md supported bot API badge
Former-commit-id: 0389dd9d02
2022-04-27 21:04:53 +06:00
Hirrolot
dbd46dd9cd Release v0.9.0
Former-commit-id: fcea341bc8
2022-04-27 16:10:33 +06:00
Hirrolot
1d1ff7db5a Merge pull request #613 from teloxide/dptree-case
Deprecate `teloxide::handler!` in favour of `dpree::case!`

Former-commit-id: 0d36a1e2b7
2022-04-27 16:05:15 +06:00
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