forked from embee/woomy
commit
dcb7d92080
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ exports.log = (content, type = "log") => {
|
||||||
|
|
||||||
var logToServer = false;
|
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;
|
logToServer = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue