Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
72e113ef7f
@ -7,10 +7,13 @@ module.exports = {
|
||||
.addStringOption(option =>
|
||||
option.setName('messageid')
|
||||
.setDescription("Message ID of message to evaluate")
|
||||
.setRequired(false)
|
||||
.setRequired(true)
|
||||
),
|
||||
async execute(interaction, client) {
|
||||
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
||||
if (interaction.options.getString('messageid') !== null) {
|
||||
var messageId = interaction.options.getString('messageid');
|
||||
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
||||
}
|
||||
global.checkMessage(messagefromId);
|
||||
console.log("User " + interaction.user.tag + " ran /forceevaluate");
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user