Jiralite
2e22b31892
docs(ApplicationRoleConnectionMetadata): Add documentation ( #8976 )
...
docs: show `ApplicationRoleConnectionMetadata`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-31 00:26:29 +00:00
Almeida
f89a164bac
fix(website): package selector page height on small devices ( #8953 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-31 00:23:08 +00:00
Cl00e9ment
4ee00b6534
docs: updated @discordjs/ws README.md to include optional packages ( #8973 )
...
* docs: updated ws's readme to include optional packages
- added optional packages to the README.md
- added an example on how to add a listener to the ws manager, in the README.md
* docs: changed "addEventListener" to "on" in ws's readme
changed "addEventListener" to "on" in @discord.js/ws README.md
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-31 00:20:36 +00:00
Jaworek
d8dd197a93
fix: keep other properties in triggerMetadata ( #8977 )
...
fix: keep other properties
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-31 00:17:20 +00:00
Ben
898b5ac416
typings(widget): add missing name ( #8978 )
...
typings(widget): add missing name
2022-12-31 00:12:27 +00:00
Suneet Tipirneni
3160ab0fc7
chore: use generator for range utility ( #8825 )
...
* chore: use generator for range utility
* chore: update doc examples
* chore: fix spelling
* chore: fix typo
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:43:58 +00:00
Almeida
a6941d536c
feat(StringSelectMenu): add spliceOptions() ( #8937 )
...
* feat(StringSelectMenu): add `spliceOptions()`
* fix: requested changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:38:28 +00:00
MrMythicalYT
bec51de103
types: use StringSelectMenuOptionBuilder ( #8949 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:35:09 +00:00
MrMythicalYT
5915f39810
types: fix actions type in automod ( #8962 )
...
* types(AutoModerationRuleCreateOptions): fix actions type
* types: update setActions
* docs: use array type for actions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:31:59 +00:00
Suneet Tipirneni
5dc5e90268
types: subcommand group options is required ( #8966 )
...
types: sub-command group options is required
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:27:44 +00:00
Almeida
07b597df16
fix(escapeX): emojis with underlines ( #8945 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 20:04:26 +00:00
Suneet Tipirneni
36560c9955
feat(core): add oauth2 api support ( #8938 )
...
* feat(core): add oauth2 api support
* chore: remove return tag
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-25 19:53:56 +00:00
Qjuh
43ce2a572e
fix(WebSocketShard): either start close timeout or emit destroyed but never both ( #8956 )
...
* fix(WebSocketShard): only close timeout or destroy
* Remove optional chaining
Co-authored-by: Voxelli <69213593+legendhimself@users.noreply.github.com >
Co-authored-by: Voxelli <69213593+legendhimself@users.noreply.github.com >
2022-12-25 19:05:19 +00:00
Almeida
22e2bbb0d2
feat(ClientApplication): add role connections ( #8855 )
...
* feat(ClientApplication): add role connections
* fix: constructor and edit types
* fix: rename typedef
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-24 08:00:39 +00:00
Almeida
7ce990954e
fix(DMChannel): recipientId edge case ( #8950 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-24 07:42:53 +00:00
Jiralite
0b8b114761
docs: Fix malformed overridden documentation ( #8954 )
...
* docs: override `resolve()` & `resolveId()`
* docs(CategoryChannel): move `setParent()` up
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-24 07:35:32 +00:00
MrMythicalYT
6614603326
fix: return only boolean for disabled ( #8965 )
...
* fix: return only boolean for `disabled`
* fix: return only boolean for `disabled`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-24 07:29:32 +00:00
Synbulat Biishev
153352ad7a
types: add generic to ActionRowBuilder.from() ( #8414 )
...
* types: add generic to `ActionRowBuilder#from()`
* test: add tests for `ActionRowBuilder.from()`
* tests: add more tests
2022-12-23 19:57:20 +00:00
Almeida
429dbccc85
feat(CommandInteractionOptionResolver): add channelTypes option to getChannel ( #8934 )
...
* feat(CommandInteractionOptionResolver): add `channelTypes` option to `getChannel`
* fix: thread types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-20 20:32:45 +00:00
Almeida
25c27eac14
fix: export missing escapeX() functions ( #8944 )
...
fix: export missing escapeX functions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-20 16:20:43 +00:00
Qjuh
5eab5fc06c
fix(WebSocketShard): only cleanup the connection if a connection still exists ( #8946 )
...
fix(WebSocketShard): only cleanup if connection
2022-12-18 15:18:07 +00:00
iCrawl
0cf29abcf0
chore(formatters): release @discordjs/formatters@0.1.0
@discordjs/formatters@0.1.0
2022-12-17 16:54:06 +01:00
Jiralite
dd62be077d
docs(GuildForumThreadManager): Fix sticker type ( #8940 )
2022-12-16 18:20:11 +01:00
Jiralite
83eafb6146
chore: Add backport label ( #8942 )
2022-12-16 18:19:44 +01:00
Almeida
18b3a19810
fix: add @discordjs/formatters to dependency list ( #8939 )
2022-12-16 17:56:29 +01:00
Almeida
c76e170786
fix(resolveColor): invalid colors ( #8933 )
...
Fixes https://github.com/discordjs/discord.js/issues/8932
2022-12-16 14:28:18 +01:00
Almeida
cbafd479b3
feat(ForumChannel): add defaultForumLayout ( #8895 )
...
* feat(ForumChannel): add `defaultForumLayout`
* fix: lockfile
2022-12-16 13:27:11 +00:00
iCrawl
19519ec9fc
chore(core): release @discordjs/core@0.3.0
@discordjs/core@0.3.0
2022-12-16 14:10:45 +01:00
iCrawl
166f742d02
fix(core): instantiate/export role connections
2022-12-16 14:09:51 +01:00
iCrawl
7a61004627
chore(core): release @discordjs/core@0.2.0
2022-12-16 03:59:25 +01:00
iCrawl
82f4827ee5
chore(ws): release @discordjs/ws@0.6.0
@discordjs/ws@0.6.0
2022-12-16 03:55:39 +01:00
iCrawl
e470e088ab
chore(rest): release @discordjs/rest@1.5.0
@discordjs/rest@1.5.0
2022-12-16 03:53:13 +01:00
Suneet Tipirneni
3d6fa248c0
feat(core): Add support for role connections ( #8930 )
2022-12-16 03:32:00 +01:00
Suneet Tipirneni
273ba45e27
chore: use satisfies where applicable ( #8884 )
...
* chore: use satisfies where applicable
* chore: remove unneeded eslint ignores
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-16 02:12:38 +00:00
Suneet Tipirneni
7a5134459c
feat: add support for nsfw commands ( #7976 )
...
* chore: update
* fix: add edit changes
* chore: make requested changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-16 02:04:56 +00:00
Tristan Camejo
6540914b4a
refactor(sharding): use switch statement ( #8928 )
2022-12-15 08:07:28 +00:00
Ben
627511d652
feat(InteractionResponse): createdTimestamp ( #8917 )
...
* feat(InteractionResponse): createdTimestamp
* feat(InteractionResponse): createdTimestamp
* Apply suggestions from code review
Co-authored-by: MrMythicalYT <91077061+MrMythicalYT@users.noreply.github.com >
Co-authored-by: MrMythicalYT <91077061+MrMythicalYT@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-14 21:35:40 +00:00
MrMythicalYT
a7b55c1460
refactor: use consistent naming for options ( #8901 )
...
* refactor: use consistent naming for options
* chore: update param names in typings
* chore: update forgotten `data` param
* Update packages/discord.js/src/structures/Guild.js
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-14 21:32:38 +00:00
Jiralite
1b151db59c
refactor(CommandInteractionOptionResolver): Loosen mentionable checks ( #8910 )
...
refactor(CommandInteractionOptionResolver): loosen mentionable checks
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-14 21:29:29 +00:00
Qjuh
aa8c57dab6
fix(WebSocketShard): clear listeners on reconnect ( #8927 )
2022-12-14 21:23:20 +00:00
muchnameless
b14604abde
fix: re-export formatters ( #8909 )
...
* fix: re-export formatters
* future-proof typings
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-12 08:49:24 +00:00
Almeida
73300c75fa
feat: add links to each routes documentation ( #8898 )
2022-12-07 16:32:55 +00:00
Almeida
3dede75621
fix(thread): get() route ( #8897 )
...
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-07 14:27:01 +00:00
Almeida
3f555d5ddf
feat(interactions): add messageId parameter to deleteReply() ( #8896 )
2022-12-07 14:23:42 +00:00
Jiralite
976b234e9d
docs: Fix deprecated links ( #8907 )
...
docs: fix malformed deprecated descriptions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-06 16:30:48 +00:00
MrMythicalYT
c48ff5e420
docs(UserFlagsBitField): make .Flags static ( #8902 )
...
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-12-06 16:27:12 +00:00
Jiralite
6acf759f63
fix: Deprecate workflow fix ( #8903 )
...
fix: deprecate workflow fix
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-06 10:29:35 +00:00
iCrawl
fb70df817c
ci: fix ref name
2022-12-03 17:05:37 +01:00
iCrawl
86959bad49
chore: update next
2022-12-03 10:43:51 +01:00
iCrawl
a0d6bc49c6
refactor: remove revalidation
2022-12-02 19:09:58 +01:00