0.27.0 (2022-02-10)
Bug Fixes
Code Refactoring
Features
- APIGuildPreview: add
stickers
(#279) (310c68f) - APIInteraction: add locale props to interactions (#273) (03b8d3f)
- APIMessageInteraction: add
member
field (#299) (80ed7ba) - APIScheduledEvent: add
image
prop (#303) (663c4e9) - APIThreadMetadata: add
create_timestamp
field (#301) (d95d956) - ApplicationCommand: attachment application command option type (#272) (71c4e6a)
- GatewayThreadCreateDispatch: Add
newly_created
field (#311) (7e54215) - Interactions: add modal and text input interactions (#243) (bf0f66b)
- Locales: add locale string enum (#297) (b07d5a0)
- MessageFlags: add
FailedToMentionSomeRolesInThread
(#280) (76588d9) - RESTPostAPIChannelMessage, RESTPostAPIWebhookMessage: add flags for creation (#300) (4194bd9)
- RESTJSONErrorCodes: add error 30042 (#305) (9c2b185)
- RESTJSONErrorCodes: add error 30046 (#304) (56d3975)
- RESTJSONErrorCodes: add error 40004 (#314) (269a75c)
- RESTJSONErrorCodes: add error 50068 (#302) (7655e20)
- RESTJSONErrorCodes: add error code 50086 (#286) (51fb37c)
- RESTPatchAPIGuildMember: add
communication_disabled_until
field (#289) (5056b0f) - RESTPatchAPIGuildMember: add modify current member and deprecate nick route (#262) (9a982ff)
- RouteBases: add base for guild scheduled events (#293) (83f29b6)
- UserFlags: add
Spammer
flag (#294) (03f12d7)
types
BREAKING CHANGES
-
Interactions:
APIBaseMessageComponent
was renamed toAPIBaseComponent
-
UserFlags: The
None
user flag is bye-bye (although I doubt anyone is using it) -
All of the channel types are now split based on their type. As such, you will need to assert the type (either by checking it with the enum or by casting the data as the correct channel) before accessing data.
If you encounter any missing properties due to this, please open an issue! This is a big change, and we hope nothing is missing -
ActivityType:
Game
was renamed toPlaying
New Contributors
- @bleonard252 made their first contribution in #289
- @BenjammingKirby made their first contribution in #262
- @ImRodry made their first contribution in #298
- @amitojsingh366 made their first contribution in #272
Full Changelog: 0.26.1...0.27.0