How to know if the channel name includes the word ticket

I have a ticket system, but it is only based on buttons. So I want to add a /close that allows me to close the channel, but I can’t find a way to make it detect if the channel is called “ticket-” then transcribe it and close it.

I tried using but it does not work:

const channel = interaction.guild.channels.find(channel => channel.name === "ticket-");