restore to how it was before

This commit is contained in:
loicbersier 2019-10-05 19:35:25 +02:00
parent 838d02f16b
commit 9abf6a9a19

View file

@ -11,11 +11,6 @@ class guildMemberAddListener extends Listener {
}
async exec(guild) {
if (guild.guild.id == 240843640375607296) {
guild.members.get(guild.id).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']);