diff --git a/commands/Tickets/closeticket.js b/commands/Tickets/closeticket.js index a6fad1db..4e564c5e 100644 --- a/commands/Tickets/closeticket.js +++ b/commands/Tickets/closeticket.js @@ -113,6 +113,7 @@ class CloseTicket extends BaseCommand { } await interaction.channel.permissionOverwrites.edit(interaction.member, { ViewChannel: false, SendMessages: null }); + await interaction.channel.setName(`${interaction.channel.name}-closed`); } }); diff --git a/commands/Tickets/createticketembed.js b/commands/Tickets/createticketembed.js index a3ed92b9..9aee9a61 100644 --- a/commands/Tickets/createticketembed.js +++ b/commands/Tickets/createticketembed.js @@ -168,6 +168,7 @@ class CreateTicketEmbed extends BaseCommand { } await interaction.channel.permissionOverwrites.edit(interaction.member, { ViewChannel: false, SendMessages: null }); + await interaction.channel.setName(`${interaction.channel.name}-closed`); } }); }