fix(*): Clear pokemon name and captain name when using the clear queue command

This commit is contained in:
2020-11-29 18:34:49 +00:00
parent 84a8f2c22c
commit 73906e1957
+3
View File
@@ -391,6 +391,9 @@ client.on('message', function (message) {
playerVotes = [];
message.channel.send(`The queue has been cleared!`);
logger.log('info', `${message.author.username} cleared the queue and the votes.`);
pokemonName = '';
captainInGameName = '';
logger.log('info', 'Emptied pokemon name and captain name');
}
}