Release Candidate 1
Pre-release
Pre-release
- TypedCollection will properly delete values when the limit is hit
- TextInput's
maxLength
has been corrected fromboolean
tonumber
(#9) EditMemberOptions#roles
has been corrected to be an array of strings- A suplicate export of
TypedCollection
in esm has been corrected - Various codebase refactors have been done to make the code cleaner
- Methods in the
Guilds
rest routes will not add guilds to the cache anymore - The localization generic has been removed from the
ApplicationCommands
rest routes Webhooks#getChannel
&Webhooks#getGuild
have been renamed togetForChannel
&getForGuild
and now actually return webhook instancesMember#publicUsers
getter has been corrected topublicFlags
getJoinedPrivateArchivedThreads
&getPrivateArchivedThreads
have been moved fromTextableChannel
toTextChannel
(these are not applicable to Announcement channels)- Embeds have been corrected to properly allow for things like
color = 0
(falsey values) - A
jumpLink
getter has been added toMessage
- A link to the relevant event pages has been added to the description of classes
- Events have been moved from
types/client
totypes/events
- Two utility types
PossiblyUncachedMessage
&PossiblyUncachedThread
have been added for use in events - A documentation test workflow has been added
- Getting application commands now takes an object instead of a single parameter. This is a breaking change, no backwards compatibility is provided.
- Getting application commands now supports sending a
locale
, which will returndesciptionLocalized
andnameLocalized
, if applicable - The compression and encoding optional dependencies have been removed from
optionalDependences
and added to the README - A set of Contributing Guidelines have been added
- Interaction typings have been overhauled
- A
clientMember
getter has been added to Guild - ForumChannel's
parent
type has been corrected toCategoryChannel | null