oops
This commit is contained in:
parent
177f4e2b52
commit
26da45afdc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue