fix(*): Fix bug with wrong variable name

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