mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
(utils): Slice threads to 100 characters & await thread edits.
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
await interaction.reply({ flags: [MessageFlags.Ephemeral], content: 'Ticket closed.' });
|
||||
|
||||
channel.edit({
|
||||
name: `[CLOSED] ${channel.name}`,
|
||||
name: `[CLOSED] ${channel.name}`.slice(0, 100),
|
||||
archived: true,
|
||||
locked: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user