forked from Galactic/galactic-bot
Attempt at touching stats, it failed
This commit is contained in:
parent
2703460b84
commit
cabcfa69cf
@ -65,7 +65,10 @@ 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