Output as json
This commit is contained in:
parent
9fe5ccc308
commit
f0891322b5
4
index.ts
4
index.ts
@ -37,7 +37,9 @@ class InfoClient extends Client {
|
|||||||
});
|
});
|
||||||
guildData[guild.name] = guildInfo;
|
guildData[guild.name] = guildInfo;
|
||||||
});
|
});
|
||||||
console.log(guildData)
|
//console.log(guildData)
|
||||||
|
const jsonData = JSON.stringify(guildData, null, 2);
|
||||||
|
console.log(jsonData)
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user