aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/create_embed.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove image/thumbnail embed buildersAustin Hellyer2016-12-181-82/+13
| | | | | | | | When implemented, it was thought that images and thumbnails would be able to have their height/width specified. This isn't the case, and so the image/height methods were deprecated on the builders. Time has passed, so just remove them in favour of direct methods on CreateEmbed instead.
* Allow time::Tm to be passed into embed timestampAustin Hellyer2016-12-181-9/+44
|
* No Z or +XX:XXChristopher F2016-12-181-3/+4
| | | | Eventual Consistency:tm:
* Add documentation regarding ISO-8601 to embedsChristopher F2016-12-181-0/+7
|
* Deprecate embed image/thumbnail height/widthAustin Hellyer2016-12-091-36/+10
| | | | | | The height and width fields for embed images and thumbnails can not be set - whereas originally there may have been plans to - so deprecate them and remove in v0.3.0.
* Implement From<Embed> for CreateEmbedAustin Hellyer2016-12-081-1/+70
|
* Add documentation for modelsIllia2016-12-041-3/+8
|
* Clean up the codebaseAustin Hellyer2016-11-291-36/+0
|
* Ensure embed fields are inline by defaultAustin Hellyer2016-11-231-1/+1
| | | | | | | 90% of use cases require embed fields to be inlined, so it's a better default. Also this makes the documentation accurate.
* Don't typo CreateEmbed::image fieldAustin Hellyer2016-11-211-1/+1
|
* Add support for creating embed imagesAustin Hellyer2016-11-211-0/+48
|
* A bit of docsAustin Hellyer2016-11-181-0/+4
|
* Add send_message rich embedsAustin Hellyer2016-11-151-17/+310
|
* Move the builders to the utilsAustin Hellyer2016-11-131-0/+42
The builders aren't a large enough portion of the library to deserve their own root-level module, so move them to the `utils` module. Additionally, split them into separate files, as the library will be receiving more builders and the single-file pattern was getting rather large.