Suneet Tipirneni
03b8d3fee0
feat(APIInteraction): add locale props to interactions ( #273 )
...
Reference: https://github.com/discord/discord-api-docs/pull/4265
2022-01-11 02:11:32 +02:00
Suneet Tipirneni
03f12d71ee
feat(UserFlags): add Spammer flag ( #294 )
2022-01-10 00:31:24 +02:00
Jan
83f29b6928
feat(RouteBases): add base for guild scheduled events ( #293 )
2022-01-09 23:59:15 +02:00
Ben
9a982ff8d9
feat(RESTPatchAPIGuildMember): add modify current member and deprecate nick route ( #262 )
...
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com >
2022-01-09 20:30:26 +02:00
Blake Leonard
5056b0f2b3
feat(RESTPatchAPIGuildMember): add communication_disabled_until field ( #289 )
2022-01-07 21:14:03 +02:00
Vlad Frangu
7ecf9b2c16
chore(release): 0.26.1 🎉 ( #285 )
0.26.1
2022-01-02 03:22:53 +02:00
Vlad Frangu
fe1f5313a8
fix(APIApplicationCommandOption): correct type for integer and number ( #284 )
2022-01-02 03:19:25 +02:00
Jiralite
0cf51abc26
feat(APIAuditLogChangeData): Add communication_disabled_until ( #281 )
2021-12-27 18:30:02 +02:00
cherryblossom000
751aee6fa7
feat(APIGuildScheduledEvent): add more precise types for stage instance/voice/external events ( #278 )
...
This commit turns `APIGuildScheduledEvent` into a union of
`APIStageInstanceGuildScheduledEvent`, `APIVoiceGuildScheduledEvent`,
and `APIExternalGuildScheduledEvent`, which each has more precise types
according to [the docs][1].
This commit also fixes a bug as previously
`APIGuildScheduledEvent#entity_metadata` was not nullable, even though
it should be.
[1]: https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-field-requirements-by-entity-type
2021-12-26 16:56:43 +02:00
Almeida
9f4f59c8e5
feat(ApplicationFlags): add embedded application flags ( #277 )
...
While Discord considers it not relevant, invites for in-app applications use at least one of these flags. Reference PR: https://github.com/discord/discord-api-docs/pull/4248
2021-12-25 14:30:10 +02:00
Vlad Frangu
cd580fa2c6
chore(release): 0.26.0 🎉 ( #276 )
0.26.0
2021-12-24 17:31:30 +02:00
Vlad Frangu
c20e5ae2a9
chore: bring in support for TS 4.5's exactOptionalPropertyTypes ( #275 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-24 17:08:58 +02:00
Vlad Frangu
7fe78cec25
chore: cleanup chat input options ( #274 )
2021-12-24 15:37:08 +02:00
Jiralite
bfc5e46f53
feat: Add API error code 50109 ( #268 )
...
* feat: add API error
* refactor: elongate error name
2021-12-23 10:44:42 +02:00
Suneet Tipirneni
8bbb81942b
types: make application command option union easier to use ( #250 )
2021-12-22 20:19:45 +02:00
Bryce Roethel
46db72da2f
fix(GatewayStageInstance): Stage Instance dispatches not included in GatewayDispatchPayload ( #267 )
2021-12-21 14:37:35 +02:00
Suneet Tipirneni
0bbc9721f6
feat(APIGuildMember): add guild timeouts ( #235 )
2021-12-21 14:32:54 +02:00
Jiralite
7eee39d86c
fix(StickerPack): Optional banner_asset_id ( #270 )
...
BREAKING CHANGE: `banner_asset_id` is now optional. Reference PR: https://github.com/discord/discord-api-docs/pull/4245
2021-12-16 20:20:20 +02:00
Suneet Tipirneni
2c72242a03
feat(GatewayThreadMemberUpdateDispatchData): add guild_id extra field ( #266 )
2021-12-14 21:26:46 +02:00
Cynthia
7ab780b3ae
fix: only a partial object is needed when updating attachments ( #263 )
2021-12-13 11:08:39 +02:00
Marvin Witt
315ce35849
fix(NonDispatchPayload): t & s fields are always null on non-dispatch payloads ( #259 )
2021-12-08 15:16:31 +02:00
Advaith
c67d426e3d
fix(APIInvite): channel can be null ( #182 )
...
BREAKING CHANGE: this marks the channel property of invites as possibly null
2021-12-07 22:57:28 +02:00
Suneet Tipirneni
e9d02a19fc
feat: add support for user guild member read oauth2 scope and route ( #254 )
2021-12-07 22:25:50 +02:00
Suneet Tipirneni
9e619fc460
feat(RESTJSONErrorCodes): add error 20029 ( #257 )
2021-12-07 19:26:01 +02:00
Jiralite
b01716bf22
feat: Add API error code 50055 ( #256 )
2021-12-07 01:29:36 +02:00
Suneet Tipirneni
c7efcd5505
feat(APIAuditLog): add guild_scheduled_events prop ( #251 )
2021-12-01 10:17:08 +02:00
Vlad Frangu
52c91f8f73
chore(release): 0.25.2 🎉 ( #249 )
0.25.2
2021-11-30 22:28:16 +02:00
Suneet Tipirneni
47382b6183
feat(Guild): boost progress bars ( #227 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-11-30 21:12:26 +02:00
PikaDude
51dee6e0e5
fix(APISelectMenuComponent): options property is required ( #248 )
2021-11-30 20:11:44 +02:00
Vlad Frangu
3ff85eede4
chore(release): 0.25.1 🎉 ( #246 )
0.25.1
2021-11-30 13:15:45 +02:00
Kot
44c0f05cb2
fix(deno): faulty import paths for guild scheduled events ( #245 )
2021-11-30 12:11:41 +02:00
Vlad Frangu
68d5c08c93
chore(release): 0.25.0 🎉 ( #244 )
0.25.0
2021-11-29 12:50:19 +02:00
Shubham Parihar
d333962715
feat: add guild scheduled event ( #186 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-11-25 15:15:05 +02:00
Almeida
f2d62e3cdf
refactor(UserFlags): update flag names ( #229 )
...
BREAKING CHANGE: All user flags now follow the internal name, with descriptions added for what they represent. This means you'll have to do some minor renaming in your code if you check for flags.
2021-11-24 16:59:51 +02:00
Suneet Tipirneni
faa8bf494b
fix(APIApplicationCommandOption): remove default property ( #242 )
...
BREAKING CHANGE: If you were using the `default` property for ApplicationCommandOptions, it has been removed, as Discord wasn't even taking it into account anymore.
2021-11-22 21:20:24 +02:00
GC
7379a345e8
fix: make subcommand options optional ( #241 )
2021-11-19 19:19:28 +02:00
GC
fa54b9de55
fix: correct types for REST attachments ( #238 )
2021-11-17 18:38:43 +02:00
Suneet Tipirneni
1e52e0ceab
feat(RESTPostAPIChannelThreadsJSONBody): add rate_limit_per_user ( #237 )
2021-11-15 21:46:04 +02:00
Suneet Tipirneni
691abb581f
fix: correct types for autocomplete interaction data ( #234 )
...
BREAKING CHANGE: The types for autocomplete interactions have been corrected.
2021-11-09 22:40:26 +02:00
Jupith
7a15c97863
feat: add maze api error ( #228 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-11-06 01:52:50 +02:00
Suneet Tipirneni
bc1d03e527
feat: add max/min option for number-based options ( #221 )
2021-11-02 17:12:18 +02:00
Almeida
0f51d8e83f
feat(ActivityFlags): add new flags ( #207 )
...
ref: https://github.com/discord/discord-api-docs/pull/3877
2021-11-02 14:57:48 +02:00
Almeida
4021dae44b
feat(GuildSystemChannelFlags): add suppress member join sticker replies flag ( #222 )
2021-11-02 14:56:34 +02:00
Advaith
d189e36c49
feat(ApplicationFlags): add message content intent flags ( #226 )
2021-11-02 14:54:14 +02:00
Almeida
a015f96fcb
feat(UserFlags): add BOT_HTTP_INTERACTIONS flag ( #212 )
2021-11-02 14:53:14 +02:00
Suneet Tipirneni
3b9320dbf2
feat(Interactions): add autocomplete api types ( #205 )
2021-10-29 16:02:42 +03:00
Advaith
fdf133ef45
feat(Attachments): multi uploads and alt text ( #223 )
2021-10-29 11:59:07 +03:00
Suneet Tipirneni
7c36a6cdf3
docs: update docs for thread members route ( #225 )
2021-10-29 11:56:30 +03:00
Vlad Frangu
a507765bba
chore(release): 0.24.0 🎉 ( #220 )
0.24.0
2021-10-17 00:06:25 +03:00
Matt (IPv4) Cowley
9dd3446b64
feat(Routes): add missing OAuth2 routes ( #218 )
2021-10-10 01:55:18 +03:00