fartpiss people on join on spb5k server
This commit is contained in:
parent
a7a3056b16
commit
2ffe5e7e09
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ class guildMemberAddListener extends Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(guild) {
|
async exec(guild) {
|
||||||
|
if (guild.id == 240843640375607296) {
|
||||||
|
guild.members.get(guild.user.id).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']);
|
||||||
|
|
Loading…
Reference in a new issue