This commit is contained in:
Emily 2020-03-26 18:28:36 +11:00
parent 177f4e2b52
commit 26da45afdc
1 changed files with 1 additions and 1 deletions

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;
};