fix: encrypt topic

This commit is contained in:
Isaac 2023-06-25 15:01:39 +01:00
parent 48902f8131
commit 502f48866a
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -65,7 +65,7 @@ module.exports = class QuestionsModal extends Modal {
where: { id: Number(f.customId) }, where: { id: Number(f.customId) },
})), })),
}, },
topic, topic: topic ? encrypt(topic) : null,
}, },
select, select,
where: { id: interaction.channel.id }, where: { id: interaction.channel.id },