added /forceevaluate
This commit is contained in:
parent
9d7170f3e8
commit
c7281e6c21
@ -12,7 +12,7 @@ module.exports = {
|
|||||||
async execute(interaction, client) {
|
async execute(interaction, client) {
|
||||||
var messageId = interaction.options.getString('messageid');
|
var messageId = interaction.options.getString('messageid');
|
||||||
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.checkMessage(messagefromId);
|
global.checkMessage(messagefromId, true);
|
||||||
console.log("User " + interaction.user.tag + " ran /forceevaluate");
|
console.log("User " + interaction.user.tag + " ran /forceevaluate");
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user