From 0bbae4f4db5f5a333da8d2fa0f854385833a3198 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 9 Apr 2023 22:30:59 -0500 Subject: [PATCH] added /forceevaluate --- commands/forceEvaluate.cjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commands/forceEvaluate.cjs b/commands/forceEvaluate.cjs index e2f48e7..1d53a20 100644 --- a/commands/forceEvaluate.cjs +++ b/commands/forceEvaluate.cjs @@ -3,7 +3,12 @@ const { SlashCommandBuilder, Discord } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('forceevaluate') - .setDescription('Makes the bot re-evaluate a message even if that person is exempt for a single message.'), + .setDescription('Makes the bot re-evaluate a message even if that person is exempt for a single message.') + .addStringOption(option => + option.setName('messageid') + .setDescription("Message ID of message to evaluate") + .setRequired(false) + ), async execute(interaction, client) { const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId); global.checkMessage(messagefromId);