forked from Galactic/galactic-bot
clean up
This commit is contained in:
parent
e7a07c1326
commit
a2d6510e0e
@ -65,10 +65,7 @@ class StatsCommand extends SlashCommand
|
|||||||
};
|
};
|
||||||
|
|
||||||
const shardResults = await shard.broadcastEval(evalFunc).catch((error) => this.client.logger.error(error));
|
const shardResults = await shard.broadcastEval(evalFunc).catch((error) => this.client.logger.error(error));
|
||||||
// const shardResults: null | [] = null;
|
|
||||||
console.log('shart results');
|
|
||||||
const managerResult = await this.client.managerEval(mEvalFunc).catch((error) => this.client.logger.error(error));
|
const managerResult = await this.client.managerEval(mEvalFunc).catch((error) => this.client.logger.error(error));
|
||||||
console.log('manager result');
|
|
||||||
if (!shardResults || !managerResult)
|
if (!shardResults || !managerResult)
|
||||||
throw new Error('Missing results for either shard or manager');
|
throw new Error('Missing results for either shard or manager');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user