silvanus/slash-commands/reset.js
Skylar Grant 52f2206b55 Revert "Pull from treeanalyzer"
This reverts commit d3ac2fc869.
2023-01-21 09:58:32 -05:00

12 lines
366 B
JavaScript

const { SlashCommandBuilder } = require('discord.js');
const fn = require('../modules/functions.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('reset')
.setDescription('Reset all message assignments in your server'),
execute(interaction) {
fn.reset(interaction.guildId);
interaction.reply(fn.builders.embed("Assignments Reset"));
},
};