how to fix "<variable> not defined" : so i am making a alert system where if someone deletes a channel it sends a message with the name of the channel that was deleted and the Deleter, so i tried making it by coding *this* : 

```
client.on('channelDelete', channel => {
  var channelDeleteAuthor = channelDelete.action.author
  const lChannel = message.channels.find(ch => ch.name === 'bot-logs')
  if (!channel) return; channel.send(`Channel Deleted by ${channelDeleteAuthor}`)
  .then(message => console.log(`Channel Deleted by ${channelDeleteAuthor}`))
  .catch(console.error)

})

``` 

and it didn't work, how do i achieve that action?