mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33:45 +00:00
fix(*): Clear pokemon name and captain ign when filling a queue
This commit is contained in:
@@ -141,6 +141,9 @@ function checkQueue(message) {
|
||||
logger.log('info', 'Emptied queue');
|
||||
playerVotes = [];
|
||||
logger.log('info', 'Emptied votes');
|
||||
pokemonName = '';
|
||||
captainInGameName = '';
|
||||
logger.log('info', 'Emptied pokemon name and captain name');
|
||||
}
|
||||
else if (playerQueue.length === 0) {
|
||||
message.channel.send('The queue is empty :(');
|
||||
|
||||
Reference in New Issue
Block a user