mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-13 10:53:45 +00:00
fix(*): Clear pokemon name and captain name when using the clear queue command
This commit is contained in:
@@ -391,6 +391,9 @@ client.on('message', function (message) {
|
|||||||
playerVotes = [];
|
playerVotes = [];
|
||||||
message.channel.send(`The queue has been cleared!`);
|
message.channel.send(`The queue has been cleared!`);
|
||||||
logger.log('info', `${message.author.username} cleared the queue and the votes.`);
|
logger.log('info', `${message.author.username} cleared the queue and the votes.`);
|
||||||
|
pokemonName = '';
|
||||||
|
captainInGameName = '';
|
||||||
|
logger.log('info', 'Emptied pokemon name and captain name');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user