diff options
| author | Nathan Perry <avaglir@gmail.com> | 2018-02-14 02:27:08 -0500 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2018-02-14 02:27:08 -0500 |
| commit | f200abd14e4e25d5f7209e4623b3677741d8e219 (patch) | |
| tree | 385a2dec93014c245872008c5e65451fef630ac2 /src | |
| parent | 2dcdd2583cefc0b3fc21e2629c619dc387b4d4b8 (diff) | |
improve list slightly
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.rs b/src/commands.rs index 1180d69..c00f65e 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -256,7 +256,7 @@ command!(list(ctx, msg) { match play_queue.playing { Some(ref info) => { - send(msg.channel_id, &format!("Currently playing {} ({})", info.init_args.url, info.init_args.initiator), msg.tts)?; + send(msg.channel_id, &format!("Currently playing `{}` ({})", info.init_args.url, info.init_args.initiator), msg.tts)?; }, None => { debug!("`list` called with no items in queue"); @@ -266,7 +266,7 @@ command!(list(ctx, msg) { } play_queue.queue.iter().for_each(|info| { - channel.say(&format!("{} ({})", info.url, info.initiator)).unwrap(); + channel.say(&format!("`{}` ({})", info.url, info.initiator)).unwrap(); }); }); |
