Moved subcommand builder to their files

This commit is contained in:
2025-03-23 15:01:08 +01:00
parent 95f9bb723f
commit 62a56e3c1c
10 changed files with 108 additions and 104 deletions

View File

@@ -1,8 +1,12 @@
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ComponentType } from "discord.js"
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ComponentType, SlashCommandSubcommandBuilder } from "discord.js"
import { devMessage, embedColor } from "~/config/options"
import { SubCommand } from "~/typings"
import env from "~/utils/Env"
export const pruneSub = new SlashCommandSubcommandBuilder()
.setName("prune")
.setDescription("Update the discord roles of all guild members")
const cmd: SubCommand = async (interaction) => {
await interaction.deferReply()