diff options
Diffstat (limited to 'examples/07_sample_bot_structure/src/commands/meta.rs')
| -rw-r--r-- | examples/07_sample_bot_structure/src/commands/meta.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/07_sample_bot_structure/src/commands/meta.rs b/examples/07_sample_bot_structure/src/commands/meta.rs index a4036fc..fc7c492 100644 --- a/examples/07_sample_bot_structure/src/commands/meta.rs +++ b/examples/07_sample_bot_structure/src/commands/meta.rs @@ -6,7 +6,7 @@ command!(latency(ctx, msg) { format!("{}.{}s", s.as_secs(), s.subsec_nanos()) }); - let _ = msg.channel_id.say(&latency); + let _ = msg.channel_id.say(latency); }); command!(ping(_ctx, msg) { |