Shorten info list

This commit is contained in:
hodasemi 2018-11-21 10:05:42 +01:00
parent b3f210000c
commit 3d404fa463

View file

@ -34,7 +34,7 @@ impl serenity::framework::standard::Command for List {
if playlist.len() == 1 { "song" } else { "songs" }
);
let max_output = 10;
let max_output = 5;
for (i, song) in playlist.iter().enumerate() {
if i < max_output {