From 1f0b14d326f867daa4ab8ad776b11d6280dc879b Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 13 Nov 2025 08:55:57 -0700 Subject: [PATCH] Fix 6 --- .../common/resetPasswordDialog.js | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/interactionHandlers/common/resetPasswordDialog.js b/interactionHandlers/common/resetPasswordDialog.js index 37c5dfb..de71556 100644 --- a/interactionHandlers/common/resetPasswordDialog.js +++ b/interactionHandlers/common/resetPasswordDialog.js @@ -19,17 +19,15 @@ module.exports.execute = async (interaction) => { { type: 18, // Label label: "New Password. Leave blank for random.", - components: [ - { - type: 4, // Text Input - id: 'newPassword', - style: 1, - min_length: 6, - max_length: 64, - placeholder: 'New Password', - required: false - } - ] + component: { + type: 4, // Text Input + id: 'newPassword', + style: 1, + min_length: 6, + max_length: 64, + placeholder: 'New Password', + required: false + } } ] });