|
|
@ -11,6 +11,10 @@ class guildMemberAddListener extends Listener {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async exec(guild) {
|
|
|
|
async exec(guild) {
|
|
|
|
|
|
|
|
if (guild.guild.id == 240843640375607296) {
|
|
|
|
|
|
|
|
guild.setNickname('fart piss');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (fs.existsSync(`./welcome/${guild.guild.id}.json`)) {
|
|
|
|
if (fs.existsSync(`./welcome/${guild.guild.id}.json`)) {
|
|
|
|
let welcome = require(`../../welcome/${guild.guild.id}.json`);
|
|
|
|
let welcome = require(`../../welcome/${guild.guild.id}.json`);
|
|
|
|
const channel = this.client.channels.get(welcome['channel']);
|
|
|
|
const channel = this.client.channels.get(welcome['channel']);
|
|
|
|