From fb31f38c971c825a988af64d40f73014a19b115c Mon Sep 17 00:00:00 2001 From: Supositware Date: Wed, 14 Sep 2022 11:30:56 +0200 Subject: [PATCH] Add attachment to feedback --- scripts/deploy-commands.cjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-commands.cjs b/scripts/deploy-commands.cjs index 3371e14..b4765e7 100644 --- a/scripts/deploy-commands.cjs +++ b/scripts/deploy-commands.cjs @@ -49,7 +49,11 @@ const commands = [ .addStringOption(option => option.setName('feedback') .setDescription('The message you want to send me.') - .setRequired(true)), + .setRequired(true)) + .addAttachmentOption(option => + option.setName('image') + .setDescription('Optional attachment.') + .setRequired(false)), new SlashCommandBuilder() .setName('inspirobot')