diff options
| author | acdenisSK <[email protected]> | 2017-08-06 13:51:45 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-08-06 13:53:43 +0200 |
| commit | 9b09481216105cf75375346a6e41edd7d5869e7c (patch) | |
| tree | afb80b707a08f119ce81e21e64ba29bb0b061dc4 /examples/04_message_builder/src | |
| parent | make Travis test on OS X (#123) (diff) | |
| download | serenity-9b09481216105cf75375346a6e41edd7d5869e7c.tar.xz serenity-9b09481216105cf75375346a6e41edd7d5869e7c.zip | |
Update examples
Diffstat (limited to 'examples/04_message_builder/src')
| -rw-r--r-- | examples/04_message_builder/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/04_message_builder/src/main.rs b/examples/04_message_builder/src/main.rs index 4fecb93..713224b 100644 --- a/examples/04_message_builder/src/main.rs +++ b/examples/04_message_builder/src/main.rs @@ -25,7 +25,7 @@ impl EventHandler for Handler { // emojis, and more. let response = MessageBuilder::new() .push("User ") - .push_bold_safe(&msg.author.name) + .push_bold_safe(msg.author.name) .push(" used the 'ping' command in the ") .mention(channel) .push(" channel") |