Skip to content

Commit

Permalink
fix: "And more" field in queue command
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTipo01 committed Jun 9, 2023
1 parent a219e2d commit 4a27f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ var (
}

// Add the number of songs not shown if the queue is longer than maxQueue
if max == maxQueue {
if len(el) > maxQueue {
embed = embed.AddField("...", "And "+strconv.Itoa(len(el)-maxQueue)+" more")
}

Expand Down

0 comments on commit 4a27f60

Please sign in to comment.