Merge pull request #11 from mudkipscience/dev

oops x2
This commit is contained in:
Emily 2020-03-26 07:29:19 +00:00 committed by GitHub
commit dcb7d92080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
};