Skip to content

Commit

Permalink
Edit music 🎶 (#409)
Browse files Browse the repository at this point in the history
Because in the footer embed type 10 not 20
  • Loading branch information
Reva724 authored Feb 22, 2021
1 parent 10ddcce commit 9af3470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/Atlanta.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Atlanta extends Client {
}));
})
.on("searchResults", (message, query, tracks) => {
if (tracks.length > 20) tracks = tracks.slice(0, 20);
if (tracks.length > 10) tracks = tracks.slice(0, 10);
const embed = new MessageEmbed()
.setDescription(Util.escapeSpoiler(tracks.map((t, i) => `**${++i} -** ${t.title}`).join("\n")))
.setFooter(message.translate("music/play:RESULTS_FOOTER"))
Expand Down

0 comments on commit 9af3470

Please sign in to comment.