mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-13 02:43:46 +00:00
fix(*): Fix bug with wrong variable name
This commit is contained in:
@@ -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.`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user