From ed17632bd5f9006762553bb26c0307285020da0c Mon Sep 17 00:00:00 2001 From: Macky Fitz Date: Tue, 21 Sep 2021 16:56:26 +0000 Subject: [PATCH] Bump support thread times to 24 hours before archiving! This is the maximum allowed time on non-supported servers. --- core/commands/support/suggest.js | 2 +- core/commands/support/ticket.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/support/suggest.js b/core/commands/support/suggest.js index 40d502b..80ef0c2 100644 --- a/core/commands/support/suggest.js +++ b/core/commands/support/suggest.js @@ -62,7 +62,7 @@ module.exports = { channel.send({ embeds: [suggestEmbed] }).then(async message => { thread = await message.startThread({ name: `Discussion - ${title}`, - autoArchiveDuration: 60, + autoArchiveDuration: 1440, reason: 'Automatically generated for suggestion discussion.' }); message.react('👍'); message.react('👎'); diff --git a/core/commands/support/ticket.js b/core/commands/support/ticket.js index 06f6d99..91bd95f 100644 --- a/core/commands/support/ticket.js +++ b/core/commands/support/ticket.js @@ -59,7 +59,7 @@ module.exports = { channel.send({ embeds: [suggestEmbed] }).then(async message => { thread = await message.startThread({ name: `Discussion - ${title}`, - autoArchiveDuration: 60, + autoArchiveDuration: 1440, type: 'private_thread', reason: 'Automatically generated for private ticket discussion.' });