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

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