Changed status object VC key to be a boolean
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user