* feat: add role icons
* Apply suggestions from code review
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
* fix: make requested changes
* chore: update descriptions
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
BREAKING CHANGE:
- `APIEmbedAuthor#name` is required, not optional
- `APIEmbedThumbnail#url` is required, not optional
- `APIEmbedImage#url` is required, not optional
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
BREAKING CHANGE: `GatewayGuildMemberUpdateDispatchData#joined_at` is properly marked as nullable now
BREAKING CHANGE: In v9, `thread_id` was incorrectly placed in `RESTPostAPIWebhookWithTokenJSONBody` and has been moved to `RESTPostAPIWebhookWithTokenQuery`
BREAKING CHANGE: All types that contained the `ID` word in them have had it renamed to `Id` (ex: `APIButtonComponentWithCustomID` is now `APIButtonComponentWithCustomId`)
Co-authored-by: monbrey <rsm999@uowmail.edu.au>
* Added `DiscordCertifiedModerator` flag to UserFlags
* Updated types for Message Components
* Added `disabled` to APISelectMenuCompponent
* Cleaned up Buttons types, making them stricter based on the `style` you provide
BREAKING CHANGE: `APISelectOption` has been renamed to `APISelectMenuOption`
BREAKING CHANGE: APISelectMenuOption#default is now properly marked as optional
* Updated OAuth2 Application types
BREAKING CHANGE: `APIApplication#owner` is now marked as optional, per the docs
* Correct APIAuditLogChangeKeyNick's key
BREAKING CHANGE: This renames APIAuditLogChangeKeyNick's key from `mute` to `nick`
* Add `application_id` to APIMessage
* Correct type of `id` and `user_id` in APIThreadMember
BREAKING CHANGE: The type of `id` and `user_id` in APIThreadMember are now marked as optional; read the TSDoc for when it's actually optional
* Correctly version API route in RouteBases
BREAKING CHANGE: This changes the `RouteBases.api` to be versioned based on the API version you're importing. **Make sure to update your code to handle that**
* Added new guild features
ref: 4d36e533cf
* Cleaned up interaction types
BREAKING CHANGE: While this shouldn't be necessary, this is a warning that types for interactions HAVE changed and you may need to update your code. For the most part, the types *should* be the same, more accurate and strictly typed. You will also see that every type of interaction has a Guild/DM counterpart exported (ex: APIApplicationCommandGuildInteraction vs APIApplicationCommandInteraction, where the former has all the guild properties, while the latter has all properties that depend on context marked as optional).
* Add TSD testing support in CI
This is mostly useful for testing unions of types
* Add message property to MessageComponent interactions