This commit is contained in:
Emily 2020-03-26 18:28:36 +11:00
parent 177f4e2b52
commit 26da45afdc

View file

@ -12,7 +12,7 @@ exports.log = (content, type = "log") => {
var logToServer = false;
if(client.devmode === false && channel && guild.available) {
if(client.devmode === false && channel && client.guilds.cache.get(client.config.loggingServer).available) {
logToServer = true;
};