mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33: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 = [];
|
||||
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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user