#Trying to read channels name after it's deleting

1 messages · Page 1 of 1 (latest)

gusty raft

How can i fix this error:

{ name: "Kanaal:", value: > ${interaction.channel.name} },
^

TypeError: Cannot read properties of null (reading 'name')

The code related to this command:
https://pastebin.com/rE69zw3S