Updated subcommand types
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user