diff --git a/Client/controllers/commandController.js b/Client/controllers/commandController.js index c943540..7e58215 100644 --- a/Client/controllers/commandController.js +++ b/Client/controllers/commandController.js @@ -97,7 +97,8 @@ exports.status = async function status({interaction= undefined, guildID= undefin const voiceConnection = getVoiceConnection(guildID); const statusObj = { - "guildID": guildID, "voiceConnection": voiceConnection + "guildID": guildID, + "voiceConnection": typeof g !== 'undefined' ? true : false // True if there is a voice connection, false if undefined } log.DEBUG('Status Object: ', statusObj);