make it actually work
This commit is contained in:
parent
9abf6a9a19
commit
4f68f9c466
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue