improved logging for botController status
This commit is contained in:
@@ -24,7 +24,9 @@ function getGuilds(req) {
|
|||||||
* Get Status of the discord process
|
* Get Status of the discord process
|
||||||
*/
|
*/
|
||||||
exports.getStatus = (res, req) => {
|
exports.getStatus = (res, req) => {
|
||||||
|
log.INFO("Getting the status of the bot");
|
||||||
guildIds = getGuilds(req);
|
guildIds = getGuilds(req);
|
||||||
|
log.DEBUG("Guild IDs: ", guildIds);
|
||||||
var guildStatuses = []
|
var guildStatuses = []
|
||||||
for (const guildID of guildIds){
|
for (const guildID of guildIds){
|
||||||
status({guildID: guildID, callback: (statusObj) => {
|
status({guildID: guildID, callback: (statusObj) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user