Commit graph

2456 commits

Author SHA1 Message Date
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
Hirrolot
178937f9d7
Fix the patch release number (0.5.2 => 0.5.3) 2021-10-25 20:10:12 +06:00
Waffle Maybe
3e0c8e5fe7
Merge pull request #465 from teloxide/0-5-3_version_bump
Version bump: `0.5.2` -> `0.5.3`
2021-10-25 16:26:43 +03:00
Maybe Waffle
f31adc1bb2 Dump version (0.5.2 -> 0.5.3) 2021-10-25 15:52:57 +03:00
Maybe Waffle
f6c4701932 fix clippy 2021-10-25 15:50:04 +03:00
Waffle Maybe
5ccefb8333
Merge pull request #464 from bemyak/fix-ctrlc-feature
Fix compilation without ctrlc_handler feature
2021-10-25 15:45:27 +03:00
­
964323fca4
Fix compilation without ctrlc_handler feature
The feature gate is moved to the `dispatching` mod level.
Public exports are also covered by this flag now.
2021-10-25 02:12:11 +03:00
Hirrolot
adcfd196e0
Merge pull request #463 from bemyak/add-missing-doc-features
Docs: Add missing features description
2021-10-24 23:50:11 +06:00
­
a7049c9e7d
Docs: Add missing features description 2021-10-23 01:56:17 +03:00
Hirrolot
0b94cb2894
Merge pull request #461 from teloxide/improve_buttons_example
Improve `buttons` example
2021-10-16 22:39:30 +06:00
Maybe Waffle
31e133493b Buttons: add inline support 2021-10-16 11:07:55 +03:00
Maybe Waffle
776e8be073 Buttons: propagete errors in callback_handler, handle messages without text
...and also remove needless copying
2021-10-16 10:33:39 +03:00
Maybe Waffle
7ae2d7efba Buttons: use better layout for buttons
Allow multiple buttons in a row, ie use

```text
a | b | c
d | e | f
    g
```

instead of

```text
a
b
c
d
e
f
g
```
2021-10-16 10:26:30 +03:00
Maybe Waffle
51fcc5151c Buttons: use message.chat.id, instead of passing it via callback data 2021-10-16 10:12:21 +03:00
Hirrolot
ef7eda54fe
Merge pull request #456 from dcariotti/examples/buttons
Add example using the InlineKeyboardMarkup
2021-10-13 14:45:32 +06:00
Santo Cariotti
5bacb6d681 Fix typo for callback_handler 2021-10-13 09:19:27 +02:00
Santo Cariotti
d501c031ff Fix name for message handler 2021-10-12 21:56:49 +02:00
Santo Cariotti
296c851a11 Remove pub keywords 2021-10-12 21:55:36 +02:00
Santo Cariotti
e8b27ba749 Merge two source files into one 2021-10-12 21:53:41 +02:00
Santo Cariotti
52ce224b6c Use callbacks into a self function 2021-10-12 21:50:37 +02:00
Santo Cariotti
6f963c91e6 Remove async on make keyboard function 2021-10-12 21:34:19 +02:00
Santo Cariotti
24f141c452 Add example using the InlineKeyboardMarkup 2021-10-12 20:12:56 +02:00
Hirrolot
04920aa1a8
Merge pull request #455 from wa7sa34cx/patch-1
Use a shorter description for a nice look
2021-10-12 15:16:35 +06: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
ea82930e48
Merge pull request #454 from teloxide/Hirrolot-patch-1
Add `wa7sa34cx/the-black-box-bot` to the community bots
2021-10-12 13:50:50 +06: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