teloxide/examples
Maybe Waffle 86cc3d782f Add CommandDescription[s]
Add two new types - `CommandDescription` and `CommandDescriptions`, make
`BotCommands` return the latter.
2022-03-27 22:10:50 +04:00
..
admin.rs Add CommandDescription[s] 2022-03-27 22:10:50 +04:00
buttons.rs Add CommandDescription[s] 2022-03-27 22:10:50 +04:00
db_remember.rs Rename BotCommand -> BotCommands (the trait) 2022-03-27 22:10:50 +04:00
dialogue.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
dices.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
dispatching2_features.rs Add CommandDescription[s] 2022-03-27 22:10:50 +04:00
heroku_ping_pong.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
inline.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
ngrok_ping_pong.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
Procfile Fix the docs of the Heroku example 2022-02-05 00:31:13 +06:00
README.md Update examples/README.md 2022-03-21 23:04:18 +06:00
shared_state.rs Deprecate enable_logging! in favour of configuring logging yourself 2022-03-21 18:55:34 +04:00
simple_commands.rs Add CommandDescription[s] 2022-03-27 22:10:50 +04:00

Usage

$ RUST_LOG=info cargo run --features="full" --example <example-name>

Don't forget to initialise the TELOXIDE_TOKEN environmental variable.