Commit graph

5 commits

Author SHA1 Message Date
Hirrolot
53be9d0e92 Reorder parameters in the examples
In reordering the parameters, I stick the following principle: place parameters from least changing to most changing. Thus, we have config and bot right from the beginning, next a dialogue with a possible payload, and next updates such as messages, inline queries, etc. This principle is used in languages with a native support for currying, although in Rust people appear to order parameters arbitrarily, so this commit is mostly for the sake of consistency.


Former-commit-id: 5922984f6c
2022-10-03 17:54:06 +06:00
Hirrolot
d3d7cc2fa9 Use same identifiers across the examples
Former-commit-id: a137b41ab2
2022-10-03 17:07:38 +06:00
Hirrolot
b0feab6e9a Use RequestError in REPLs
Former-commit-id: cde6827cee
2022-10-02 21:44:04 +06:00
Hirrolot
05501015ee Stop using AutoSend in the examples and docs
Former-commit-id: 00efbe163a
2022-09-29 09:37:20 +06:00
Hirrolot
34ebbe6bef examples/dices.rs => examples/throw_dice.rs
Former-commit-id: 2537f06464
2022-04-27 00:56:51 +06:00
Renamed from examples/dices.rs (Browse further)