diff --git a/handlers/commands.js b/handlers/commands.js index 2191b04..bf59d27 100644 --- a/handlers/commands.js +++ b/handlers/commands.js @@ -877,8 +877,6 @@ async function handleCommand(interaction) { // /signature if (interaction.commandName === 'signature') { try { - await interaction.deferReply({ ephemeral: true }); - // Fetch existing signature data if it exists const StaffSignature = mongoose.model('StaffSignature'); const existingSignature = await StaffSignature.findOne({ userId: interaction.user.id }).lean(); @@ -920,7 +918,7 @@ async function handleCommand(interaction) { await interaction.showModal(modal); } catch (err) { console.error('Signature command error:', err); - await interaction.editReply({ content: 'Failed to open signature settings.', ephemeral: true }); + await interaction.reply({ content: 'Failed to open signature settings.', ephemeral: true }); } return; }