Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
bc79fb2fbd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user