aboutsummaryrefslogtreecommitdiff
path: root/examples/06_command_framework/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-15 09:34:45 -0800
committerAustin Hellyer <[email protected]>2016-11-15 09:34:45 -0800
commit08721763df212cd46b4226d535da00fad9dc10e7 (patch)
treebbf65b7542d2b3f26f1f9cf2c2c90b3813e83524 /examples/06_command_framework/src
parentFeature-gate voice example (diff)
downloadserenity-08721763df212cd46b4226d535da00fad9dc10e7.tar.xz
serenity-08721763df212cd46b4226d535da00fad9dc10e7.zip
Add a message builder for Context::send_message
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)); ```
Diffstat (limited to 'examples/06_command_framework/src')
0 files changed, 0 insertions, 0 deletions