GoldenAngel
4beb64769c
chore(Integration): Cleanup removed methods ( #6220 )
2021-07-29 11:51:47 +01:00
Justin
e000af5c98
feat(WebhookClient): allow creation of clients via URLs ( #6192 )
2021-07-29 11:48:43 +01:00
SpaceEEC
42a0313034
fix(PermissionOverwrites): throw better error if resolving option fails ( #6219 )
2021-07-29 11:10:27 +01:00
Justin
be5c0eff34
chore: update discord domain name ( #6214 )
2021-07-29 02:54:08 +01:00
Scott Bucher
19b242ac10
feat(FetchRecommendedShardsOptions): account for large bot sharding ( #6184 )
...
Co-authored-by: Justin <justinleeong@gmail.com >
2021-07-29 02:52:51 +01:00
ckohen
68725476b3
fix(Channel): add default for destructured options ( #6203 )
2021-07-28 21:31:59 +01:00
ckohen
26ba0e1036
feat(GuildAuditLogs): add threads ( #6195 )
2021-07-28 20:05:01 +01:00
Jiralite
f060a3fcd7
fix: Use string instead of Snowflake for invites ( #6202 )
2021-07-28 20:04:51 +01:00
Jiralite
5e433b5995
docs(InteractionResponses): Document missing properties ( #6178 )
2021-07-28 01:30:22 +01:00
ckohen
9679b90872
fix(ThreadChannel): better property handling ( #6172 )
2021-07-28 01:29:06 +01:00
IRONM00N
30a58dc801
fix: export various classes that are exported in the typings ( #6166 )
...
The following classes were exported in the typings but not the `index.js` file:
- `ApplicationCommandPermissionsManager`
- `CachedManager`
- `ClientVoiceManager`
- `DataManager`
- `GuildInviteManager`
- `StageInstanceManager`
- `VoiceStateManager`
- `WebSocketManager`
- `WebSocketShard`
- `AnonymousGuild`
- `GuildPreviewEmoji`
- `InviteStageInstance`
- `InviteGuild`
- `PartialGroupDMChannel`
- `StageInstance`
- `StickerPack`
- `Typing`
- `WelcomeChannel`
- `WelcomeScreen`
- `GuildAuditLogsEntry`
2021-07-27 11:15:49 +01:00
Advaith
b22272f860
feat(Guild): add fetchWidget() for getting widget data ( #6180 )
2021-07-27 11:15:31 +01:00
Advaith
2f1cc1fc27
feat(ApplicationCommandOptionType): add NUMBER (10) ( #6128 )
2021-07-27 11:12:43 +01:00
Tiemen
4886ae23ab
refactor: only cache commands from own user ( #6161 )
2021-07-23 20:19:17 +01:00
Shino
690c121aa9
feat(CommandInteractionOptionResolver): add sub-command required option ( #6165 )
2021-07-23 20:17:34 +01:00
Jiralite
c8ca7bfd2c
fix(GuildAuditLog): Assert target to null upon not finding invite codes ( #6171 )
2021-07-23 01:17:02 +01:00
ckohen
870a0de53c
fix(Message): fix typo in sticker_items ( #6173 )
2021-07-22 22:55:47 +01:00
Jiralite
5e706941fc
docs(CommandInteraction): Correct type definition of CommandInteractionOption ( #6169 )
2021-07-22 12:56:44 +01:00
ckohen
cd47a524af
refactor(Message): combine patch methods ( #6071 )
2021-07-22 09:05:38 +01:00
Shino
328501bd8e
refactor(CommandInteractionOptionResolver): add readonly data property ( #6156 )
2021-07-21 22:22:47 +01:00
Apokalypt
07017a9699
fix(Sticker): replace 'this.guildID' (undefined) by 'this.guildId' in fetchUser ( #6160 )
...
Co-authored-by: Apokalypt <enterprise@apokalypt.fr >
2021-07-21 08:39:17 +01:00
Jan
5addcd15d8
refactor(OptionResolver): accept single type instead of an array ( #6154 )
2021-07-20 20:20:20 +01:00
monbrey
02f55f0971
fix(CommandInteractionOptionResolver): type should be USER ( #6148 )
2021-07-20 01:46:38 +01:00
Floffah
8ccfd6e07b
fix(CommandInteractionOptionResolver): Export CommandInteractionOptio… ( #6146 )
...
**Please describe the changes this PR makes and why it should be merged:**
CommandInteractionOptionResolver is exported in the typings, but not in the index.js file
**Status and versioning classification:**
- Code changes have been tested against the Discord API, or there are no code changes
- I know how to update typings and have done so, or typings don't need updating
2021-07-20 00:18:19 +01:00
Advaith
54d6a3a070
feat(Sticker): updates, sticker packs, and guild stickers ( #5867 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Tiemen <ThaTiemsz@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-07-20 00:17:21 +01:00
Devin
8ea04b295d
Updates identity to correct scope name of identify ( #6140 )
2021-07-19 08:02:37 +01:00
GoldenAngel
9f039a8679
feat(GuildPreview): add createdAt & createdTimestamp ( #6130 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-18 19:18:53 +01:00
eeehh
c40c0f934a
fix(GuildChannel): only fetch invites for the specific channel ( #6132 )
2021-07-18 19:16:48 +01:00
Shino
f293132345
feat(CommandInteraction): add CommandInteractionOptionResolver ( #6107 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-07-18 19:16:32 +01:00
HyRo
4d53d0fd11
refactor(ActionsManager): less complex code ( #6102 )
...
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk >
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: Gabe616 <60316309+Gabe616@users.noreply.github.com >
2021-07-17 12:25:59 +01:00
Advaith
366f3c910a
feat: make Instance#fetch force true by default, and fix force parameter ( #6116 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2021-07-17 12:25:23 +01:00
Alan
de384047b3
chore(ApiRequest): remove mention of var ( #6125 )
...
Co-authored-by: Alan <you@example.comalanlichen1 @gmail.com>
2021-07-17 12:22:45 +01:00
Antonio Román
5ca97c9351
refactor: remove timer utilities from Client ( #6113 )
2021-07-16 13:31:25 +01:00
Joey Smalen
f200f14a40
feat(REST): append additional information to the required User Agent ( #6112 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-16 12:27:12 +01:00
DTrombett
8db6df3d1e
types(Options): add types for cacheWithLimits ( #6095 )
2021-07-16 12:20:38 +01:00
Antonio Román
576eee8de2
refactor: remove typing caching ( #6114 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
2021-07-16 12:20:05 +01:00
Shino
4206e35b23
feat(Client): add conditional ready typings ( #6073 )
2021-07-14 16:19:38 +01:00
monbrey
1dcad051a8
revert: support for nested arrays of components, fix error handling ( #6081 )
2021-07-12 07:53:27 +01:00
Matt (IPv4) Cowley
dee5c83fc0
fix(PermissionsOverwrites): only convert type if number ( #6092 )
2021-07-12 07:53:18 +01:00
Rodry
d433fe8a08
fix: channel type check in actions ( #6086 )
2021-07-10 21:51:32 +01:00
SpaceEEC
f72ce7c136
fix(GuildChannel): clone its PermissionOverwriteManager too ( #6083 )
2021-07-10 13:15:20 +01:00
DTrombett
d6c43a50bd
types(Partial): add partial reactions ( #6066 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-09 12:25:59 +01:00
SpaceEEC
637c8e0fdf
fix(PresenceUpdate): use added presence over nullable getter ( #6077 )
...
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-08 21:43:48 +01:00
Rodry
6301728d35
refactor(Channel): change channel types to UPPER_CASE ( #6035 )
2021-07-08 21:32:19 +01:00
anandre
b170fb5ce8
docs(InteractionResponses): reply docs example ( #6079 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
2021-07-08 21:16:03 +01:00
BaumianerNiklas
67e9ce4693
docs(InteractionResponses): generalize wording in update to fit other component interaction types ( #6074 )
2021-07-08 15:39:36 +01:00
BannerBomb
c1eaa78ab7
typings(GuildInviteManager): FetchInvitesOptions ( #6076 )
2021-07-08 15:39:23 +01:00
1Computer1
9cd5e7ed61
refactor(Managers): rename add to _add ( #6060 )
2021-07-08 11:34:45 +01:00
DTrombett
28b5ffb4d6
docs(ClientUser): fix shardId nullable ( #6072 )
...
* docs(ClientUser): fix shardId nullable
* docs(ClientUser): fix id lowercase for consistency
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-07 23:22:51 +01:00
DTrombett
58bbcd591e
types(ApplicationCommand): fix option name ( #6067 )
...
* types(ApplicationCommand): fix option name
* fix(ApplicationCommand): update tests
* fix(ApplicationCommand): fix error param
2021-07-07 13:41:47 +01:00