Commit graph

454 commits

Author SHA1 Message Date
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
Eric S. Londres
865c3f28a0
Fix formatting of basketball betting bot in readme
Previously the title/desc of the bot was not italicized, unlike other bot names/descriptions
2021-03-10 16:48:16 -05:00
Eric S. Londres
b1201c4506
Add BeerHolderBot to community bot list 2021-03-10 16:47:05 -05:00
Goldstein
155f7aed5a
Fix typo 2021-01-31 22:15:42 +03:00
Goldstein
751af600f7
Provide new url for tg-vimhelpbot 2021-01-31 19:44:53 +03:00
myblackbeard
84e9b861ac
add community bot: myblackbeard/basketball-betting-bot 2021-01-02 19:39:05 +01:00
Temirkhan Myrzamadi
009b38baa6
Add sschiz/janitor-bot to README.md 2020-12-12 14:10:51 +06:00
Waffle Lapkin
89ae390dfe
Merge pull request #294 from teloxide/sqlite_storage
Sqlite storage v2
2020-11-04 12:01:21 +03:00
Dmytro Polunin
ec1c006ce4
Bold text of questions in FAQ 2020-11-01 13:45:59 +02:00
Sergey Levitin
5bb5357183 Gardening + update docs 2020-10-24 20:05:48 +03:00
Temirkhan Myrzamadi
7b1fbabdcb
Merge pull request #301 from teloxide/master
v0.3.2
2020-10-23 11:58:02 +06:00
Temirkhan Myrzamadi
3c04d573f9 Prepare for v0.3.2 2020-10-23 08:23:09 +06:00
eupn
ac99b39d67
Update README.md
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-10-08 20:02:35 +07:00
eupn
bfe5ae43fb
Update README.md
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-10-08 20:02:17 +07:00
eupn
970d33d477
Update README.md
Co-authored-by: Temirkhan Myrzamadi <hirrolot@gmail.com>
2020-10-08 20:01:39 +07:00
eupn
d88e2d0e93
Edit README.md a bit 2020-10-08 11:46:30 +08:00
Waffle Lapkin
814adabdb6
Merge branch 'dev' into v0.3.1_release 2020-09-26 19:01:16 +03:00
Temirkhan Myrzamadi
eb79c7099d
Update README.md 2020-09-26 21:50:22 +06:00
Temirkhan Myrzamadi
e894ae868e
Update README.md
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2020-09-26 21:42:36 +06:00
Temirkhan Myrzamadi
4a1ba8d9b4
Update README.md 2020-09-26 21:30:08 +06:00
Temirkhan Myrzamadi
1c6b97ae39
Update README.md 2020-09-26 21:29:32 +06:00
Temirkhan Myrzamadi
4db66eaa83
Highlight dialogues management (README.md) 2020-09-26 21:27:13 +06:00
Temirkhan Myrzamadi
b212616257
Add authors of bots to README.md 2020-09-12 21:23:50 +06:00
Temirkhan Myrzamadi
4fabc083b8
Add tg-vimhelpbot to README.md 2020-09-06 00:48:26 +06:00
Waffle
04f8ed5df7 v0.3.1 release 2020-08-25 17:45:16 +03:00
Temirkhan Myrzamadi
24f09761e8
Merge pull request #268 from teloxide/cognito_bot
Add cognito_bot to README.md
2020-08-21 16:58:13 +06:00
Temirkhan Myrzamadi
fc4324b91f
Remove useless spaces from README.md 2020-08-21 16:24:09 +06:00
Temirkhan Myrzamadi
060dd5f6b4
Add cognito_bot to README.md 2020-08-18 09:23:18 +06:00
Waffle
d88f92d26c make 'dev' default branch in docs 2020-08-17 18:10:03 +03:00
Waffle Lapkin
a368de15b1
Merge branch 'master' into docs 2020-08-12 23:59:26 +03:00
Waffle
3157305105 add automatic test of code blocks from readme 2020-08-12 23:21:13 +03:00
Waffle
f765278c68 add docs|master badge and netlify config 2020-08-12 22:49:58 +03:00
Waffle Lapkin
7a3ce7f05c
Remove confusing use of respond from README 2020-08-12 22:44:56 +03:00
Waffle Lapkin
f521f08470
Use local ./ paths instead of github links in README 2020-08-12 22:31:35 +03:00
Temirkhan Myrzamadi
05e32336fa Add requests::respond 2020-08-02 13:08:43 +06:00
DCjanus
7b9f7e8690 fix example code 2020-08-02 12:11:09 +08:00
Temirkhan Myrzamadi
2f4006f5ea
Update the API coverage badge to 0.4.9 2020-07-31 23:18:13 +06:00
Temirkhan Myrzamadi
5985f62bfe
v0.3.0 README.md 2020-07-31 22:04:39 +06:00
Temirkhan Myrzamadi
a0064b7bef
Update README.md 2020-07-31 21:52:41 +06:00
Temirkhan Myrzamadi
09d3db9f9b Fix Cargo.toml files in the examples 2020-07-31 21:43:28 +06:00
Temirkhan Myrzamadi
e2d536bc91 Update examples/dialogue_bot 2020-07-31 18:47:20 +06:00
Temirkhan Myrzamadi
0445a803ca
Update README.md 2020-07-31 18:37:51 +06:00
Temirkhan Myrzamadi
9115622ee3
Fix a typo in README.md 2020-07-31 16:01:13 +06:00
Temirkhan Myrzamadi
7097dd4f34 'Insert here your bot's name' -> 'Your bot's name here' 2020-07-31 00:47:26 +06:00
Temirkhan Myrzamadi
02c71f72cb Use the generic HandlerE in REPLs 2020-07-31 00:16:21 +06:00
Temirkhan Myrzamadi
cfb78097b2 Don't import 'futures' by default (README.md) 2020-07-30 20:24:44 +06:00
Temirkhan Myrzamadi
c39586ef10 Add commands_repl 2020-07-30 20:07:46 +06:00
Temirkhan Myrzamadi
1989dcbe04 UpdateWithCx::send_dice -> answer_dice 2020-07-30 19:29:39 +06:00
Temirkhan Myrzamadi
c81ec1602a Remove repl from prelude 2020-07-30 19:25:56 +06:00
Temirkhan Myrzamadi
67af702a81 Use repl in examples/dices_bot 2020-07-30 19:07:58 +06:00
Temirkhan Myrzamadi
bb5899d6d2 Update README.md 2020-07-30 11:19:41 +06:00
Temirkhan Myrzamadi
52ccec7aaa Update README.md 2020-07-29 18:44:08 +06:00
Temirkhan Myrzamadi
684723aaae Fix a broken link in README.md 2020-07-29 16:13:16 +06:00
Temirkhan Myrzamadi
843fb777f9 Replace media/PING_PONG_BOT.gif with DICES_BOT.gif 2020-07-29 16:10:19 +06:00
Temirkhan Myrzamadi
e74196a62f Replace examples/ping-pong-bot with examples/dices-bot 2020-07-29 16:02:37 +06:00
Temirkhan Myrzamadi
a81657dcd1
Update README.md 2020-07-29 00:58:03 +06:00
Temirkhan Myrzamadi
acc673ad22
Update README.md 2020-07-29 00:43:09 +06:00
Temirkhan Myrzamadi
c8119704ab
Update README.md 2020-07-29 00:26:20 +06:00
Temirkhan Myrzamadi
da47444e70
Describe the cargo features in README.md 2020-07-29 00:15:03 +06:00
Temirkhan Myrzamadi
2685123316 Remove #[derive(Default)] from StartState in examples/dialogue_bot 2020-07-28 23:37:26 +06:00
Temirkhan Myrzamadi
bdd2ffad2a .unwrap() -> .expect(std::convert::Infallible) 2020-07-28 22:18:43 +06:00
Temirkhan Myrzamadi
1564f8d80a
Update README.md 2020-07-28 22:09:43 +06:00
Temirkhan Myrzamadi
1915497289
Hide long code in README.md 2020-07-28 22:02:48 +06:00
Temirkhan Myrzamadi
0be2bf9a8b
Q: Do you support the Telegram API for clients? (README.md) 2020-07-28 21:35:55 +06:00
Temirkhan Myrzamadi
5e8f633e80 Update README.md 2020-07-27 02:40:41 +06:00
Temirkhan Myrzamadi
af2aa218e7 #[teloxide(transition)] -> #[teloxide(subtransition)] 2020-07-27 00:52:03 +06:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
f9c192aad0 Fix the docs 2020-07-26 23:37:56 +06:00
Temirkhan Myrzamadi
8b7a6e019f
Update README.md 2020-07-26 23:21:33 +06:00
Temirkhan Myrzamadi
5c38945115
Fix broken links in README.md 2020-07-26 23:20:52 +06:00
Temirkhan Myrzamadi
54a6bf440b Add an auxiliary parameter to (sub)transitions 2020-07-26 23:16:49 +06:00