Test logs

This commit is contained in:
Christopher Cookman 2024-06-24 15:02:23 -06:00
parent cfb3dfac75
commit 6d646394fc
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -106,6 +106,7 @@ client.on('inviteCreate', (invite) => { //if someone creates an invite while bot
return;
}
if (!row) return;
console.log(row)
if(!row.log_create) return;
client.channels.fetch(row.channel).then(channel => {
if (!channel) return; // They probably set perms wrong