improved logging for botController status

This commit is contained in:
Logan Cusano
2023-03-26 15:49:19 -04:00
parent ccb42e7fba
commit 5bbcc3ffcc

View File

@@ -24,7 +24,9 @@ function getGuilds(req) {
* Get Status of the discord process
*/
exports.getStatus = (res, req) => {
log.INFO("Getting the status of the bot");
guildIds = getGuilds(req);
log.DEBUG("Guild IDs: ", guildIds);
var guildStatuses = []
for (const guildID of guildIds){
status({guildID: guildID, callback: (statusObj) => {