Updated subcommand types

This commit is contained in:
2025-03-23 16:44:42 +01:00
parent e67307a6bd
commit d8ebeff481
11 changed files with 28 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ export const pruneSub = new SlashCommandSubcommandBuilder()
.setName("prune")
.setDescription("Update the discord roles of all guild members")
const cmd: SubCommand = async (interaction) => {
const cmd: SubCommand = async ({ interaction }) => {
await interaction.deferReply()
if (interaction.user.id !== env.prod.DEV) {