if (message.toLowerCase === '$bl') {
console.log(bannedWords.join(', '))
}
bannedWords is previously defined as bannedWords = data.bannedWords and data.bannedWords is the following array: ["bla1", "bla2", "bla3"] For whatever reason, I cannot get the bannedWords array to send as a log in console. FYI, bannedWords' array is defined awkwardly because there are other commands that add/remove things to the array, which work fine (for now).