Shorten info list
This commit is contained in:
parent
b3f210000c
commit
3d404fa463
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ impl serenity::framework::standard::Command for List {
|
||||||
if playlist.len() == 1 { "song" } else { "songs" }
|
if playlist.len() == 1 { "song" } else { "songs" }
|
||||||
);
|
);
|
||||||
|
|
||||||
let max_output = 10;
|
let max_output = 5;
|
||||||
|
|
||||||
for (i, song) in playlist.iter().enumerate() {
|
for (i, song) in playlist.iter().enumerate() {
|
||||||
if i < max_output {
|
if i < max_output {
|
||||||
|
|
Loading…
Reference in a new issue