aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add guild and channel searchAustin Hellyer2016-12-291-0/+2
|
* Remove image/thumbnail embed buildersAustin Hellyer2016-12-181-2/+0
| | | | | | | | 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.
* Clean up the codebaseAustin Hellyer2016-11-291-1/+0
|
* Re-export CreateEmbedFooterKisei2016-11-271-0/+1
|
* Add support for creating embed imagesAustin Hellyer2016-11-211-0/+1
|
* Add send_message rich embedsAustin Hellyer2016-11-151-1/+7
|
* Add a message builder for Context::send_messageAustin Hellyer2016-11-151-0/+2
| | | | | | | | | | | | | | | | Add a message builder to `send_message`. Often only one field - i.e. `content` - needs to be specified, and the rest can be ignored. This is a preliminary patch to add rich embed support to messages. This message builder is used via: ```rust // assuming in a context with a `channel_id` bound context.send_message(channel_id, |m| m .content("TTS ping!") .tts(true)); ```
* Move the builders to the utilsAustin Hellyer2016-11-131-0/+26
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.