Commit graph

5 commits

Author SHA1 Message Date
Hirrolot
5922984f6c 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.
2022-10-03 17:54:06 +06:00
Hirrolot
a137b41ab2 Use same identifiers across the examples 2022-10-03 17:07:38 +06:00
Hirrolot
cde6827cee Use RequestError in REPLs 2022-10-02 21:44:04 +06:00
Hirrolot
00efbe163a Stop using AutoSend in the examples and docs 2022-09-29 09:37:20 +06:00
Hirrolot
2537f06464 examples/dices.rs => examples/throw_dice.rs 2022-04-27 00:56:51 +06:00
Renamed from examples/dices.rs (Browse further)