teloxide/examples
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
..
admin.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
buttons.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
command.rs examples/simple_commands.rs=> examples/command.rs 2022-04-27 00:54:37 +06:00
db_remember.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
dialogue.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
dispatching_features.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
heroku_ping_pong.rs Update the heroku example to use 0.0.0.0 as ip 2022-06-29 15:10:45 +02:00
inline.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
ngrok_ping_pong.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
Procfile Fix the docs of the Heroku example 2022-02-05 00:31:13 +06:00
purchase.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
README.md Update examples/README.md 2022-03-21 23:04:18 +06:00
shared_state.rs Move ctrlc handler enable function to DispatcherBuilder 2022-07-21 13:32:05 +04:00
throw_dice.rs examples/dices.rs => examples/throw_dice.rs 2022-04-27 00:56:51 +06:00

Usage

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

Don't forget to initialise the TELOXIDE_TOKEN environmental variable.