mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33:45 +00:00
fix(*): Fix bug with wrong variable name
This commit is contained in:
@@ -124,8 +124,8 @@ client.on('message', function (message) {
|
|||||||
message.channel.send(`The queue is already empty...`);
|
message.channel.send(`The queue is already empty...`);
|
||||||
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