make sure messages are defined
This commit is contained in:
parent
1167324033
commit
f53f254800
@ -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");
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user