Bug Fixes
- snowflake: Snowflakes length (#9144) (955e8fe)
- Actions: Inject built data by using a symbol (#9203) (a63ac88)
- Message#deletable: Add check for deletable message types (#9168) (e78b8ad)
- Message:
bulkDeletable
permissions should be retrieved later for DMs (#9146) (a9495bd) - AutoModerationActionExecution: Transform
action
(#9111) (9156a28) - MessageReaction:
toJSON()
infinite recursion (#9070) (f268e1d) - ThreadChannel: Insert starter message from threads created in forum channels (#9100) (0b76ab4)
- ApplicationRoleConnectionMetadata: Export the class correctly (#9076) (071516c)
- Don't auth for interaction
showModal()
(#9046) (b803a9a) - WebSocketShard: Zombie connection fix (#8989) (876b181)
- Keep other properties in triggerMetadata (#8977) (d8dd197)
- escapeX: Emojis with underlines (#8945) (07b597d)
- WebSocketShard: Either start close timeout or emit destroyed but never both (#8956) (43ce2a5)
- DMChannel:
recipientId
edge case (#8950) (7ce9909) - Return only boolean for
disabled
(#8965) (6614603) - Export missing
escapeX()
functions (#8944) (25c27ea) - WebSocketShard: Only cleanup the connection if a connection still exists (#8946) (5eab5fc)
- Add
@discordjs/formatters
to dependency list (#8939) (18b3a19) - resolveColor: Invalid colors (#8933) (c76e170)
- WebSocketShard: Clear listeners on reconnect (#8927) (aa8c57d)
- Re-export formatters (#8909) (b14604a)
Documentation
- MessageManager: Add clarification to fetch messages (#9222) (f5ec1ca)
- Make interactionResponse as optional (#9179) (664cccb)
- Fix typos (#9127) (1ba1f23)
- chatInputApplicationCommandMention: Parameters are not nullable (#9091) (6f78e82)
- No
@type
description and reveal info block (#9097) (405f940) - ThreadEditOptions: Move info tag back to
invitable
(#9020) (f3fe3ce) - Fix a typo in the MentionableSelectMenuInteraction link (#9000) (6d7a143)
- ApplicationRoleConnectionMetadata: Add documentation (#8976) (2e22b31)
- Fix malformed overridden documentation (#8954) (0b8b114)
- GuildForumThreadManager: Fix
sticker
type (#8940) (dd62be0) - Fix deprecated links (#8907) (976b234)
- UserFlagsBitField: Make
.Flags
static (#8902) (c48ff5e)
Features
- Collector: Add lastCollectedTimestamp (#9044) (4458a13)
- StageChannel: Add messages (#9134) (ffdb197)
- AutoModerationActionExecution: Add
channel
,user
andmember
getters (#9142) (095bd77) - AutoModeration: Support
custom_message
(#9171) (c1000b8) - ThreadMemberManager: Support pagination fetching (#9035) (765d5a3)
- InteractionResponse: Add new methods (#9132) (dc9924f)
- GuildMember: Add
flags
(#9087) (76b2116) - Client:
guildAuditLogEntryCreate
event (#9058) (9439107) - Add role subscription data (#9025) (1ba22f4)
- Sticker: Add support for gif stickers (#9038) (6a9875d)
- GuildAuditLogs: Support
after
(#9011) (0076589) - Add role subscriptions (#8915) (3407e1e)
- Add
not_found
to guild member chunk data (#8975) (be294ea) - ClientApplication: Add role connections (#8855) (22e2bbb)
- CommandInteractionOptionResolver: Add
channelTypes
option togetChannel
(#8934) (429dbcc) - ForumChannel: Add
defaultForumLayout
(#8895) (cbafd47) - Add support for nsfw commands (#7976) (7a51344)
- InteractionResponse: CreatedTimestamp (#8917) (627511d)
- Guild: Add disableInvites method (#8801) (45faa19)
Refactor
- Compare with
undefined
directly (#9191) (869153c) - GuildMemberManager: Tidy up fetching guild members (#8972) (4e0e125)
- BitField: Reverse iterator/toArray responsibilities (#9118) (f70df91)
- Moved the escapeX functions from discord.js to @discord.js/formatters (#8957) (13ce78a)
- Use
deprecate()
directly (#9026) (1c871b5) - Guild: Destructure object in guild editing (#8971) (d3e9f2a)
- GuildManager: Better handling of creation code (#8974) (d7a09f6)
- sharding: Use switch statement (#8928) (6540914)
- Use consistent naming for options (#8901) (a7b55c1)
- CommandInteractionOptionResolver: Loosen mentionable checks (#8910) (1b151db)
Styling
Typings
- Allow sending messages with
SuppressNotifications
flag (#9177) (71a427f) - Remove
EscapeMarkdownOptions
(#9153) (fd0246c) - Attachment: Make
attachment
private (#8982) (da23cd5) - Fix type of Attachment#name (#9101) (4e0a89f)
- Allow builders to set channel types in discord.js (#8990) (7dec892)
- Swap message reaction and emoji identifier types (#8969) (ad49845)
- widget: Add missing
name
(#8978) (898b5ac) - Use StringSelectMenuOptionBuilder (#8949) (bec51de)
- Fix actions type in automod (#8962) (5915f39)
- Subcommand group
options
is required (#8966) (5dc5e90) - Add generic to
ActionRowBuilder.from()
(#8414) (153352a)