Test logs
This commit is contained in:
parent
cfb3dfac75
commit
6d646394fc
1
index.js
1
index.js
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue