Moved subcommand builder to their files
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user