Skip to content

Commit 28f9b51

Browse files
authored
Merge pull request #524 from seeyebe/fix/ban-delete-days-not-passed
fix: delete-days not applied when banning
2 parents e940a96 + 0e314d6 commit 28f9b51

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export const BanMsgCmd = modActionsMsgCmd({
7272
member,
7373
mod,
7474
contactMethods,
75+
args["delete-days"] ?? undefined,
7576
);
7677
},
7778
});

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export const BanSlashCmd = modActionsSlashCmd({
8989
interaction.member as GuildMember,
9090
mod,
9191
contactMethods,
92+
options["delete-days"] ?? undefined,
9293
);
9394
},
9495
});

0 commit comments

Comments
 (0)