diff --git a/src/modals/questions.js b/src/modals/questions.js index f74c620..799e192 100644 --- a/src/modals/questions.js +++ b/src/modals/questions.js @@ -65,7 +65,7 @@ module.exports = class QuestionsModal extends Modal { where: { id: Number(f.customId) }, })), }, - topic, + topic: topic ? encrypt(topic) : null, }, select, where: { id: interaction.channel.id },