improved logging for botController status
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user