mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
(buttons): Ticket threads now prefix [CLOSED].
This applies to both tickets closed manually & tickets closed after 5 days of inactivity.
This commit is contained in:
@@ -24,6 +24,7 @@ export default {
|
||||
await interaction.editReply({ content: 'Ticket closed.' });
|
||||
|
||||
channel.edit({
|
||||
name: `[CLOSED] ${channel.name}`,
|
||||
archived: true,
|
||||
locked: true
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export default {
|
||||
await interaction.reply({ flags: [MessageFlags.Ephemeral], content: 'Ticket closed.' });
|
||||
|
||||
channel.edit({
|
||||
name: `[CLOSED] ${channel.name}`,
|
||||
archived: true,
|
||||
locked: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user