Add catch

This commit is contained in:
Christopher Cookman 2024-04-15 01:07:18 -06:00
parent b9fa194933
commit c2704c1c22
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -252,6 +252,8 @@ client.on("ready", async () => {
})
guild.fetchVanityData().then(vanityData => {
client.invites[vanityData.code] = vanityData.uses
}).catch(err => {
// do fuck all, they dont have vanity
})
})
@ -440,7 +442,9 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
}]
});
}
});
}).catch(err => {
// do fuck all, they dont have vanity
})
if (defcon <= 3) {