fix(*): Fix bug with wrong variable name

This commit is contained in:
2020-10-25 23:40:03 +00:00
parent dd685f63b3
commit a8c058f096
+1 -1
View File
@@ -125,7 +125,7 @@ client.on('message', function (message) {
console.log(`${message.author.username} attmepted to clear the queue but it was already empty.`); console.log(`${message.author.username} attmepted to clear the queue but it was already empty.`);
} }
else { else {
rankedList = []; playerQueue = [];
message.channel.send(`The queue has been cleared!`); message.channel.send(`The queue has been cleared!`);
console.log(`${message.author.username} cleared the queue.`); console.log(`${message.author.username} cleared the queue.`);
} }