mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: null handling
This commit is contained in:
1 parent
3e7a73c528
commit
7aa0b65d1d
6 files changed
+41
-19
No files matched your search
+1
-2
@@ -1,4 +1,3 @@
|
||||
import { Locale } from 'discord.js';
|
||||
import { chunk, times } from 'lodash';
|
||||
import { compress } from 'lz4js';
|
||||
import { argv } from 'process';
|
||||
@@ -64,7 +63,7 @@ for (const batch of batches) {
|
||||
let playersDone = 0;
|
||||
const players = await Promise.all(
|
||||
chunk.users.map(async (user) => {
|
||||
const tanks = await getTankStats(region, user.blitz, Locale.EnglishUS);
|
||||
const tanks = await getTankStats(region, user.blitz);
|
||||
|
||||
console.log(`Player ${++playersDone} of ${chunk.users.length}`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user