Jaslo Ziska
eed1bbb0fc
Conditionally add teloxide-macros crate and reexport macros
...
This commit adds the feature "macros" which conditionally adds the
teloxide-macros crate and reexports its macros.
All (doc) tests using these macros are also conditionally enabled now.
Also change examples accordingly.
This commit solves https://github.com/teloxide/teloxide/issues/283
2020-10-02 20:43:26 +02:00
DCjanus
7b9f7e8690
fix example code
2020-08-02 12:11:09 +08:00
Temirkhan Myrzamadi
09d3db9f9b
Fix Cargo.toml files in the examples
2020-07-31 21:43:28 +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
c39586ef10
Add commands_repl
2020-07-30 20:07:46 +06:00
Temirkhan Myrzamadi
38a1f470ad
Use the default characters per line limit
2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
56be9a2c59
Use three dots instead of the exclamation in the examples
2020-07-25 19:46:05 +06:00
p0lunin
4ceb1253dd
Merge branch 'master' of https://github.com/teloxide/teloxide into commands
...
Conflicts:
examples/admin_bot/src/main.rs
examples/simple_commands_bot/src/main.rs
src/dispatching/dispatcher_handler_rx_ext.rs
2020-07-03 20:11:25 +03:00
p0lunin
c61e3eb8d3
fix example
2020-07-03 20:00:05 +03:00
p0lunin
33f92f9ea0
updated admin_command example
2020-06-24 20:43:21 +03:00
Temirkhan Myrzamadi
0db3116939
Remove stupid comments
2020-06-01 18:09:49 +06:00
Temirkhan Myrzamadi
fb6e295447
Fix the examples
2020-02-23 19:36:31 +06:00
p0lunin
1f1234c9bf
fixed examples
2020-02-23 14:18:21 +02:00
p0lunin
61f06a5e7a
fixed documentation
2020-02-22 22:53:11 +02:00
Temirkhan Myrzamadi
332da2c3dd
Simplify .commands()
2020-02-19 16:05:01 +06:00
Temirkhan Myrzamadi
46b20f676e
Add DispatcherHandlerRxExt
2020-02-19 15:53:54 +06:00
Temirkhan Myrzamadi
fa554a8252
Fixes
2020-02-19 04:54:41 +06:00
Temirkhan Myrzamadi
5278041927
Rename commands_bot -> admin_bot
2020-02-14 00:29:26 +06:00
Temirkhan Myrzamadi
42e2f3fb42
Refactor
2020-02-13 23:23:22 +06:00
p0lunin
c9f811a311
fixed example and added documentation
2020-02-13 17:42:24 +02:00
p0lunin
4058126665
fixed example admin_bot
2020-02-12 16:08:15 +02:00
p0lunin
2a43678974
added example
2020-02-11 21:35:22 +02:00