From 720987f1ec51305b65314da3e58fab3465340f71 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:54:43 +0000 Subject: [PATCH] chore: Add `deleteMessageDays` breaking change https://github.com/discordjs/discord.js/pull/7447 --- guide/additional-info/changes-in-v14.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/additional-info/changes-in-v14.md b/guide/additional-info/changes-in-v14.md index fe7114b1e..37b52de44 100644 --- a/guide/additional-info/changes-in-v14.md +++ b/guide/additional-info/changes-in-v14.md @@ -169,6 +169,10 @@ The `message` and `interaction` events are now removed. Use `messageCreate` and `applicationCommandCreate`, `applicationCommandDelete` and `applicationCommandUpdate` have all been removed. Refer to [this pull request](https://github.com/discordjs/discord.js/pull/6492) for context. +### GuildBanManager + +The `days` option when banning a user has been renamed to `deleteMessageDays` to be more aligned to the API name. + ### Guild `#setRolePositions` and `#setChannelPositions` have been removed. Use `RoleManager#setPositions` and `GuildChannelManager#setPositions` instead respectively.