Discord.js || Can bot track ban list?

There are a lot of to ban a user in a server, you can do it manually or with another bot. I want my bot to scan a banlist, and if someone will get banned, it will send a message “user (id) has been banned

I started writing smt but now, I had no idea what can I do to check it.

client.on('guildBanAdd', messsage =>{

  try {
  const banList = await message.guild.fetchBans();
  if (bannedUser) await message.channel.send(`${bannedUser.tag} is banned.`);
  
})