Files
SupportBot/events/guildMemberAdd.js
T
2020-06-20 00:18:17 +01:00

24 lines
628 B
JavaScript

// SupportBot 6.0, Created by Emerald Services
// Ready Event
const Discord = require("discord.js");
const fs = require("fs");
const yaml = require('js-yaml');
const supportbot = yaml.load(fs.readFileSync('./supportbot-config.yml', 'utf8'));
module.exports = async (bot) => {
if (supportbot.SystemMessages === "true") {
const SystemChannel = message.guild.channels.cache.find(channel => channel.name === supportbot.SystemMessage_Channel)
if (!SystemChannel) return;
if (supportbot.SystemMessage_Embed === "true") {
const GuildAddMember = new Discord.MessageEmbed()
}
}
};