mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
rename closed ticket to {name}-closed
This commit is contained in:
parent
ce30dae7fa
commit
eb934a37c3
2 changed files with 2 additions and 0 deletions
|
@ -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`);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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`);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue