aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/create_message.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename the `http` module to `rest`Austin Hellyer2016-11-251-2/+2
|
* Add send_message rich embedsAustin Hellyer2016-11-151-3/+23
|
* Add a message builder for Context::send_messageAustin Hellyer2016-11-151-0/+71
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)); ```