<commit_before>/* REQUIRED DEPENDENCIES */
var reload = require('require-reload');

/* REQUIRED FILES */
var _Logger = reload('../utils/Logger.js');

/* LOCAL VARIABLES */
var logger;

module.exports = function(bot, _settingsManager, config, guild) {
	if (logger === undefined) {
		logger = new _Logger(config.logTimestamp);
	}
	logger.logWithHeader('JOINED GUILD', 'bgGreen', 'black', `${guild.name} owned by ${guild.members.get(guild.ownerId).user.username}`);
	if (config.bannedGuildIds.include(guild.id)) {
		logger.logWithHeader('LEFT BANNED GUILD', 'bgRed', 'black', guild.name);
		guild.leave();
	} else {
		//guild.defaultChannel.createMessage(':wave: Hello!\nYou can find my commands at https://unlucky4ever.github.io/RuneCord/commands.html or by doing `~help` and `)help`\nYou can get more information about me by doing ~about');
	}
}<commit_msg>fix guildCreate error<commit_after>/* REQUIRED DEPENDENCIES */
var reload = require('require-reload');

/* REQUIRED FILES */
var _Logger = reload('../utils/Logger.js');

/* LOCAL VARIABLES */
var logger;

module.exports = function(bot, _settingsManager, config, guild) {
	if (logger === undefined) {
		logger = new _Logger(config.logTimestamp);
	}
	logger.logWithHeader('JOINED GUILD', 'bgGreen', 'black', `${guild.name} owned by ${guild.members.get(guild.ownerID).user.username}`);
	if (config.bannedGuildIds.include(guild.id)) {
		logger.logWithHeader('LEFT BANNED GUILD', 'bgRed', 'black', guild.name);
		guild.leave();
	} else {
		//guild.defaultChannel.createMessage(':wave: Hello!\nYou can find my commands at https://unlucky4ever.github.io/RuneCord/commands.html or by doing `~help` and `)help`\nYou can get more information about me by doing ~about');
	}
}
{'fraction_non_alphanumeric': 0.16511627906976745, 'fraction_numerical': 0.0011627906976744186, 'mean_word_length': 5.03859649122807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7620270', 'n_tokens_mistral': 611, 'n_tokens_neox': 588, 'n_words': 136}