1
0
Fork 0

make it actually work

akairo
loicbersier 5 years ago
parent 9abf6a9a19
commit 4f68f9c466

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

Loading…
Cancel
Save