Skip to content

Commit 0e314d6

Browse files
authored
fix: delete-days not applied when banning
for slash too
1 parent 0be8f4a commit 0e314d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/src/plugins/ModActions/commands/ban/BanSlashCmd.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export const BanSlashCmd = modActionsSlashCmd({
9595
interaction.member as GuildMember,
9696
mod,
9797
contactMethods,
98+
options["delete-days"] ?? undefined,
9899
);
99100
},
100101
});

0 commit comments

Comments
 (0)