Merge branch 'master' of https://github.com/esmBot/esmBot
This commit is contained in:
commit
4231b0d2a2
1 changed files with 6 additions and 4 deletions
2
shard.js
2
shard.js
|
@ -63,11 +63,13 @@ class Shard extends Base {
|
|||
}
|
||||
|
||||
// generate docs
|
||||
if (helpGenerator) {
|
||||
await helpGenerator.generateList();
|
||||
if (this.clusterID === 0 && helpGenerator) {
|
||||
await helpGenerator.createPage(process.env.OUTPUT);
|
||||
logger.log("info", "The help docs have been generated.");
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.METRICS !== "" && process.env.METRICS !== undefined) {
|
||||
const httpServer = http.createServer(async (req, res) => {
|
||||
|
|
Loading…
Reference in a new issue