make sure messages are defined

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2024-08-06 11:56:43 -05:00
parent 1167324033
commit f53f254800

View File

@ -14,7 +14,7 @@ module.exports = {
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId); const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
global.tylerStop(messagefromId); global.tylerStop(messagefromId);
global.checkMessage(messagefromId, true); global.checkMessage(messagefromId, true);
interaction.reply({content: "Checking message..", ephemeral: true}); interaction.reply({content: "Checking message...", ephemeral: false});
console.log("User " + interaction.user.tag + " ran /forceevaluate"); console.log("User " + interaction.user.tag + " ran /forceevaluate");
}, },
}; };