Fixed bug
This commit is contained in:
parent
68217fac15
commit
8df18880cb
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ class When extends Queries {
|
|||
return true
|
||||
}
|
||||
|
||||
for (let i = 1; i < items.length; i + 1) {
|
||||
for (let i = 0; i < items.length; i += 1) {
|
||||
if (artists.indexOf(items[i].artist) === -1) {
|
||||
artists.push(items[i].artist)
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ class When extends Queries {
|
|||
}
|
||||
}
|
||||
|
||||
botSay(where, `Pour cette période tu as pu entendre ${artists.length} différents pour un total de ${songs.length} morceaux différents !`)
|
||||
botSay(where, `Pour cette période tu as pu entendre ${artists.length} artistes différents pour un total de ${songs.length} morceaux différents !`)
|
||||
})
|
||||
.catch(err => {
|
||||
console.error('ERR:', err)
|
||||
|
|
Loading…
Reference in a new issue