iCrawl
0cf29abcf0
chore(formatters): release @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
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
2022-12-16 03:55:39 +01:00
iCrawl
e470e088ab
chore(rest): release @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
MrMythicalYT
45faa19982
feat(Guild): add disableInvites method ( #8801 )
...
* feat(GuildInviteManager): add setDisabled method
* fix: formatting
* refactor: move helper method to `Guild`
* fix: rename method
* fix: add newline before jsdoc
* fix: remove disallowed trailing space
* Update packages/discord.js/src/structures/Guild.js
Co-authored-by: Hackerboi 69 <62872992+thehackerboi69github@users.noreply.github.com >
Co-authored-by: Hackerboi 69 <62872992+thehackerboi69github@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-12-02 13:21:59 +00:00
DD
8f552a0e17
refactor(WebSocketShard): identify throttling ( #8888 )
...
* refactor(WebSocketShard): identify throttling
* chore: add worker handling
* refactor: worker handling
* chore: update tests
* chore: use satisfies where applicable
* chore: add informative comment
* chore: apply suggestions
* refactor(SimpleContextFetchingStrategy): support multiple managers
2022-12-02 13:04:09 +00:00
Suneet Tipirneni
3fca638a84
feat: add @discordjs/formatters ( #8889 )
...
* feat: add @discordjs/formatters
* chore: make requested changes
* chore: make requested changes
* chore: fix other places
* chore: make requested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-02 12:55:00 +00:00
iCrawl
4e4cbb3418
fix: revalidate on page level instead
2022-12-02 11:31:59 +01:00
iCrawl
52f56d3c2e
chore: deps
2022-12-01 21:01:19 +01:00
DD
40b504a208
fix(WebSocketShard): send ratelimit handling ( #8887 )
...
* fix(WebSocketShard): send ratelimit handling
* chore: remove unnecessary else
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-01 10:58:00 +00:00
iCrawl
322cb99049
chore(discord.js): release discord.js@14.7.1
2022-12-01 11:53:40 +01:00
Jiralite
11d195d04f
fix: Prevent crash on no select menu option ( #8881 )
...
* fix: no crash on no option
* refactor: consistency in ??
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-01 10:49:14 +00:00
Almeida
f13ff5c6d3
feat(createPackage): sort label files ( #8892 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-01 10:02:44 +00:00
Jiralite
5e4331062b
chore: Add brokers to package list and labels in issue forms ( #8893 )
...
chore: add brokers and sort list
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-01 10:00:04 +00:00
Almeida
fff3602a8a
fix(createPackage): invalid label/path on labeler file ( #8891 )
...
* fix(createPackage): invalid label/path on labeler file
* fix: `packages:ui` label
2022-12-01 09:55:31 +00:00
iCrawl
72c30d1578
revert: theme fix
2022-11-30 04:41:07 +01:00
iCrawl
2cb1000a3a
fix: move back to old theming
2022-11-30 04:34:47 +01:00
iCrawl
8a39c14921
fix: generate correct paths after moving catch-all
2022-11-30 04:26:40 +01:00
iCrawl
4ae029dfe2
fix: path generation
2022-11-30 04:16:27 +01:00
iCrawl
2849af0118
refactor: correctly generate routes
2022-11-30 03:55:23 +01:00
iCrawl
90d192078f
fix: generate paths
2022-11-30 03:17:47 +01:00
iCrawl
b0f9b9c344
fix: next-themes
2022-11-30 02:22:00 +01:00
iCrawl
6bcebd4867
fix: including readme files
2022-11-29 01:06:02 +01:00
iCrawl
1efa95337f
fix: dynamicParams bug
2022-11-29 00:36:23 +01:00
iCrawl
2f4bdf7394
fix: remove output file tracing option
2022-11-29 00:20:23 +01:00
iCrawl
4b9b62416b
fix: reading readme files
2022-11-29 00:10:01 +01:00
iCrawl
208378b214
chore: fix changelog
2022-11-28 23:19:34 +01:00
iCrawl
6e65b45b31
chore(discord.js): release discord.js@14.7.0
2022-11-28 23:00:38 +01:00
iCrawl
2b260bd4bb
chore: deps
2022-11-28 22:53:19 +01:00
iCrawl
cab692409d
chore(voice): release @discordjs/voice@0.14.0
2022-11-28 22:51:40 +01:00
iCrawl
0fe503b516
chore(ws): release @discordjs/ws@0.5.0
2022-11-28 22:50:16 +01:00
iCrawl
999bc2069e
chore(proxy): release @discordjs/proxy@1.2.1
2022-11-28 22:48:38 +01:00
iCrawl
b89bd6f67c
chore(rest): release @discordjs/rest@1.4.0
2022-11-28 22:46:13 +01:00
iCrawl
5235ad5bfe
chore(collection): release @discordjs/collection@1.3.0
2022-11-28 22:44:33 +01:00
iCrawl
3bd8458e09
chore(builders): release @discordjs/builders@1.4.0
2022-11-28 22:41:50 +01:00
iCrawl
44696c0a6a
chore(brokers): release @discordjs/brokers@0.1.0
2022-11-28 22:39:02 +01:00
iCrawl
b5d8b69452
chore: deps
2022-11-28 22:33:21 +01:00
Almeida
7430c8e4c8
fix: remove casts when using makeURLSearchParams() ( #8877 )
2022-11-28 22:22:02 +01:00
Suneet Tipirneni
1a10f48bc3
feat(website): add link to discord-api-types ( #8866 )
...
fix: merge conflicts
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-28 18:18:26 +00:00
Jiralite
e592852e42
ci: Fix typo for /core labels ( #8878 )
2022-11-28 19:15:10 +01:00
Aura Román
8376e2dbcd
refactor: update makeURLSearchParams to accept readonly non-Records ( #8868 )
2022-11-28 09:20:27 +01:00
Jiralite
ed68a1af5b
chore: Update /core constants ( #8874 )
2022-11-28 09:14:16 +01:00
iCrawl
ebf9991df7
fix: readd react-use alias for astro
2022-11-28 06:13:53 +01:00
iCrawl
31e67c4316
build: smaller bundle size for websites
2022-11-28 05:55:08 +01:00
iCrawl
2f4bfedca1
chore: deps
2022-11-28 03:39:50 +01:00
Suneet Tipirneni
2127b32d26
feat: Add @discordjs/core ( #8736 )
...
* feat: add @discordjs/core
* chore: lint
* chore: add all gateway events
* chore: add the rest of the rest routes
* chore: cleanup gateway
* chore: rename gateway to client
* chore: rename gateway to client
* fix: don't spread unless we need to
* refactor: use classes and make requested changes
* chore: show shardId on emit
* chore: add interface for intrinsic props
* refactor: scope dispatch data instead of spreading
* chore: add utility for uploading files for messages and interactions
* feat: finish up form data handling
* chore: add readme
* chore: update api-extractor stuff
* chore: bump deps
* chore: make requested changes
* chore: make requested changes
* Update package.json
* chore: make requested changes
* fix: add missing interaction responses
* chore: make some requested changes
* chore: remove `return await`
* chore: use autoModeration instead of automod
* refactor: use snowflakes and -types results
* chore: sort imports, fix return type on editUserVoiceState
* chore: rename bots to users
* feat: add automod dispatch events
* refactor: move templates and members into guild
* fix: use users instead of bots in api class
* chore: imports
* chore: make requested changes
* fix: don't make files required on interaction replies
* fix: rename sendMessage to createMessage
* feat: add application command routes
* feat: add webhook.execute overloads and options to invites.get
* chore: use create prefixes
* chore: seperate interaction params
* chore: use Id
* chore: make requested changes
* chore: make requested changes
* chore: make requested changes
* chore: for -> from
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: make requested changes
* chore: update -types
* chore: bump vitest
* fix: sticker uploading
* fix: lockfile
* chore: make requested changes
* chore: make requested changes
* Update packages/core/src/api/applicationCommands.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Apply suggestions from code review
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: almeidx <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-27 21:23:13 +00:00
Suneet Tipirneni
12553da135
feat(website): add app dir ( #8869 )
...
Co-authored-by: iCrawl <buechler.noel@outlook.com >
2022-11-27 16:24:34 +01:00
MrMythicalYT
decbce4010
feat(Webhook): add channel property ( #8812 )
...
* feat(Webhook): add `channel` property
* fix: allow ForumChannel type
* fix: disallow thread channel type
* fix: formatting
* Apply suggestions from code review
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-11-26 13:31:05 +01:00
iCrawl
9922151266
refactor: docker image for proxy-container
2022-11-26 02:09:05 +01:00
iCrawl
f0120538bb
build: better turbo config
2022-11-26 02:07:56 +01:00
Suneet Tipirneni
650f4ddfb2
feat(guide): add next and previous page buttons ( #8777 )
2022-11-25 21:49:36 +01:00
iCrawl
56d086022f
ci: fetch all branches
2022-11-25 20:13:03 +01:00
iCrawl
909a02e2ad
ci: test changes
2022-11-25 19:57:50 +01:00
iCrawl
ac0851b5b1
ci: fetch with a depth of 5
2022-11-25 19:55:45 +01:00
iCrawl
1ef42e4e7b
chore: nextjs 13 changes
2022-11-25 19:33:30 +01:00
iCrawl
db346e014f
ci: don't forward filter option
2022-11-25 19:19:57 +01:00
iCrawl
8f5b167483
build: only run scripts on changed content
2022-11-25 19:15:44 +01:00
MrMythicalYT
ec37f137fd
types(Formatters): allow boolean in formatEmoji ( #8823 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-25 17:42:48 +00:00
Almeida
f9828034cd
fix(MessageMentions): add InGuild generic ( #8828 )
...
fix(MessageMentions): add InGuild generic
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-25 17:35:52 +00:00
Jaworek
cb77fd02d0
docs: describe InteractionEditReplyOptions ( #8840 )
...
* docs: add 'description' to interactionreplyoptions
* Update packages/discord.js/src/structures/interfaces/InteractionResponses.js
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-25 17:26:33 +00:00
Eejit
7e06f68185
fix(Activity): Fix equals() not checking for differing emoji ( #8841 )
...
* Fix presence updating
* Update packages/discord.js/src/structures/Presence.js
Co-authored-by: Almeida <almeidx@pm.me >
* Update Presence.js
* Better emoji checking
* Revert "Better emoji checking"
This reverts commit 44d52bfde8 .
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-25 17:17:55 +00:00
Jiralite
d2754802cc
docs(AutoModerationRuleManager): Describe cache ( #8848 )
...
docs(AutoModerationRuleManager): describe cache
2022-11-25 15:24:19 +00:00
Suneet Tipirneni
7ae0c529f2
chore(scripts): cleanup create-package script ( #8862 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-11-25 15:36:04 +01:00
iCrawl
7332b7bae3
chore: switch order of vite plugins
2022-11-25 14:43:30 +01:00
iCrawl
33a82b7bce
chore: next 13
2022-11-25 14:29:32 +01:00
Jeroen Claassens
d0c82561b8
fix: fixed react/astro/guide/discord.js build, updated dependencies, fix crawlvatar ( #8861 )
2022-11-25 14:02:18 +01:00
iCrawl
256677b435
chore: deps
2022-11-23 09:34:56 +01:00
iCrawl
ee7d2fd4c8
chore: deps
2022-11-22 13:35:47 +01:00
Jiralite
65bc0adbf4
docs: Fix message action row components ( #8819 )
...
* docs: fix message action row components
* docs: remove unused external links
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 22:20:49 +00:00
Jiralite
fd4ba5eaba
feat: Auto Moderation ( #7938 )
...
* feat: initial AutoMod commit
* types: Typo in class name
Co-authored-by: Jonathan <54381371+axisiscool@users.noreply.github.com >
* refactor: move things around
* refactor: remove undocumented property
* chore: add new intents to issue form
* feat: add initial basic manager
* feat(AutoModRule): add new properties
* feat: add events
* feat(GuildAuditLog): cache rules
* refactor: move JSDoc to where it is actually used
* refactor(AutoModRule): add `_patch()` method
* feat(AutoModRuleManager): add resolvers
* feat(Sweepers): add new manager
* types: nullify first parameter of `autoModerationRuleUpdate`
* types: add manager to `Caches`
* docs(AutoModRule): update `metadata` docstring
* feat: add execution event
* fix(AutoModActionExecution): export class
* refactor(AutoModRule): `triggerType` is not modifiable
* docs(AutoModRule): link class
* feat: add trigger metadata definitions
* docs(AutoModRule): typos
* feat(AutoModRule): action metadata
* types: Proper casing of name
Co-authored-by: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com >
* refactor: only patch data if exists
* types: `preset` is an array
* types(AutoModRuleActionMetadata): nullify all
* feat(AutoModRuleManager): add `fetch()`
* docs(AutoModRule): tweak some wording
* docs(AutoModRule): use "array" over "list"
* docs(AutoModRuleResolvable): fix union
* types: adjust some names
* feat(AutoModRuleManager): add `create()`
* feat(AutoModRuleManager): add `delete()`
* refactor: prefer full auto moderation name
* docs(AutoModerationRuleManager): fix a fetch example
* refactor(Sweepers): alphabetise methods
* chore: remove testing
* fix(AutoModerationRuleCreateOptions): add `reason`
* fix: typo for `presets`
* fix(AutoModerationRuleCreateOptions): `actions` is required
* fix(AutoModerationRuleManager): handle properties that are unrequired
* feat(AutoModerationRuleManager): add `edit()`
* feat(GuildAuditLogsEntry): add auto moderation rules
* refactor: prefer "AutoModerationActionExecutionAction"
* refactor: annotate todos and doc fixes
* feat(AutoModerationRule): add guild getter
* docs(AutoModerationRule): rule -> auto moderation rule
* docs(AutoModerationRuleEditOptions): `eventType` is optional
* feat(AutoModerationRule): add helpers
* docs: random string updates
* chore: add TODOs
* feat(AutoModerationActionExecution): add helpers
* feat: support role and channel resolvables
* chore: high priority todo to keep me in solitary
* refactor(AutoModerationActionMetadataOptions): allow resolvables
* chore: tidy up from merge
* docs(AutoModerationRule): document extension
* feat: export `AutoModerationRuleManager`
* chore(ActionsManager): add new actions
* chore: add to websocket index
* refactor(AutoModerationActionExecution): send the guild across
* docs(AutoModerationActionExecution): typo
* docs(AutoModerationRule): deduplicate a word
* docs(Guild): dot
* test: add some basic tests
* docs(AutoModerationRuleManager): fetch is optional
* docs(AutoModerationActionExecution): prefer non-links
* types: `presets` is an array of numbers
* docs(AutoModerationRuleEditOptions): `name` is optional
* docs(AutoModerationRule): fix type for `exemptChannels`
* docs(AutoModerationRuleUpdateAction): remove "object"
* feat: add `allow_list`
* fix(GuildAuditLogsEntry): pass guild
* docs(AutoModerationRuleManager): correct fetch example
* chore: prettier
* refactor: remove unneeded optional chaining operator
* feat: add mention limit
* docs(AutoModerationRuleManager): document new requirement
* refactor: conform to message content intent
* docs: document permission for event
* docs: refactor intent message
* docs: dot
* docs: remove string in link
* refactor: document upstream changes
* fix(AutoModerationRuleDelete): Correct event fire
Co-authored-by: GoldenAngel <50855202+GoldenAngel2@users.noreply.github.com >
* feat(AutoModerationRule): Add `setMentionTotalLimit()` helper method
* feat(AuditLogEntries): add new extra fields
* types: add `guild` in constructors
* types: update typings
* refactor(AutoModerationRuleManager): `&&` shorthand
* types: remove leftover type
* chore: types
* docs: update API types
* docs: Tweak guild wording
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* feat: add regular expression matching
* docs: update `allowList` wording
* refactor: deduplicate `guildId`
Co-authored-by: Jonathan <54381371+axisiscool@users.noreply.github.com >
Co-authored-by: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com >
Co-authored-by: GoldenAngel <50855202+GoldenAngel2@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-11-19 22:06:13 +00:00
Almeida
153d2403ad
chore: turbo cache coverage ( #8836 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:59:06 +00:00
Jiralite
8ed5c1beb6
docs: Specify ActionRowBuilder for components ( #8834 )
...
docs: `ActionRowBuilder` for `components`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:50:04 +00:00
MrMythicalYT
09f65b724b
docs: add @extends for select menu classes ( #8824 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:43:00 +00:00
Synbulat Biishev
291f36cd73
feat: add Collection#subtract() ( #8393 )
...
* feat: add `Collection#missing()`
* test: add test for `Collection#missing()`
* chore: rename `missing` to `complement`
* docs: fix name
* test: fix test name
Co-authored-by: Almeida <almeidx@pm.me >
* chore: sort alphabetically
* fix: edit condition
Co-authored-by: Almeida <almeidx@pm.me >
* refactor: rename to `subtract`
* docs: fix description
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: change condition
* fix: resolved eslint formatting error
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-11-19 21:34:26 +00:00
Jaworek
b2fabd130a
feat(SelectMenuInteractions): add values property ( #8805 )
...
* fix: add values property
* fix: improve wording
* Update packages/discord.js/src/structures/MentionableSelectMenuInteraction.js
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:27:14 +00:00
Suneet Tipirneni
abefc4f809
docs: add section on testing local changes ( #8802 )
...
* docs: add section on testing local changes
* chore: use the root command for watching
* Update .github/CONTRIBUTING.md
Co-authored-by: Almeida <almeidx@pm.me >
* Update .github/CONTRIBUTING.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update .github/CONTRIBUTING.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update .github/CONTRIBUTING.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:17:19 +00:00
RedGuy12
d6873b7159
fix(escapeMarkdown): fix double escaping ( #8798 )
...
* fix(escapeMarkdown): fix double escaping
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* remove cruft
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:08:33 +00:00
RedGuy12
017f9b1ed4
fix(Transfomers): call .toJSON in toSnakeCase ( #8790 )
...
* fix(Transfomers): call `.toJSON` in `toSnakeCase`
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* fix: move it under the Date check
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* fix(toSnakeCase): stop assuming `toJSON` returns snake_case values
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 21:01:41 +00:00
Idris
e74aa7f6b0
feat(ThreadChannel): add a helper for pin and unpin ( #8786 )
...
* feat(ThreadChannel): add a helper for pin and unpin
* fix: remove erros
* Update packages/discord.js/src/structures/ThreadChannel.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/discord.js/src/structures/ThreadChannel.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/discord.js/src/structures/ThreadChannel.js
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/discord.js/src/structures/ThreadChannel.js
Co-authored-by: Almeida <almeidx@pm.me >
* Update packages/discord.js/typings/index.d.ts
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* docs(ThreadChannel): improve description
* types(ThreadChannel): fix types
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-19 20:54:43 +00:00
Synbulat Biishev
ff85481d3e
feat: add Message#bulkDeletable ( #8760 )
...
* feat: add `Message#bulkDeletable`
* feat: add requested changes
* fix: add check for `ManageMessages` permission
* fix: `.permissionsFor()` exist only in guild channels
* feat: apply requested changes
* types: add type
* fix: do not return `undefined`
* fix: add property to docs
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-06 03:51:34 +00:00
Jaworek
68c9cb37bc
docs: make WebSocketShard.lastPingTimestamp public ( #8768 )
...
Make WebSocketShard.lastPingTimestamp public
2022-11-02 13:29:53 +00:00
DD
5152abf728
feat: new select menus ( #8793 )
...
* feat(builders): new select menus
* chore: better re-exporting of deprecated classes
* feat: new select menus
* chore: typings
* chore: add missing todo comment
* chore: finish updating tests
* chore: add runtime deprecation warnings
* chore: format deprecation warning
* feat(BaseInteraction): isAnySelectMenu
* chore: requested changes
* fix: deprecation comments
* chore: update @deprecated comments in typings
* chore: add tests for select menu type narrowing
* fix: bad auto imports
Co-authored-by: Julian Vennen <julian@aternos.org >
* fix: properly handle resolved members
* fix: collectors
* chore: suggested changes
Co-authored-by: Almeida <almeidx@pm.me >
* fix(typings): bad class extends
* feat(ChannelSelectMenuBuilder): validation
* chore: update todo comment
* refactor(ChannelSelectMenu): better handling of channel_types state
* chore: style nit
* chore: suggested nits
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: Julian Vennen <julian@aternos.org >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-01 17:36:05 +00:00
MrMythicalYT
8b400ca975
feat(InteractionResponses): add message parameter ( #8773 )
2022-10-31 19:04:42 +01:00
Saya
88cd9d9060
feat: support resume urls ( #8784 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-10-31 19:03:51 +01:00
ckohen
5a70057826
fix(SequentialHandler): downlevel ECONNRESET errors ( #8785 )
2022-10-31 19:03:38 +01:00
Almeida
0bcc18a0bd
fix(brokers): publish the scripts folder ( #8794 )
2022-10-31 19:01:49 +01:00
Gabriel Thomé
b5213664fa
feat: allow punctuation characters in context menus ( #8783 )
...
Co-authored-by: Gabriel Thomé <114624098+gabriel-thome-GVNG@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-31 12:28:29 +00:00
advaith
6e348ffd1d
docs(MessageReplyOptions): remove duplicate stickers field ( #8766 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-10-31 11:39:27 +00:00
DD
e7cbc1bf11
fix(BaseRedisBroker): proper import path to lua script ( #8776 )
...
* fix(BaseRedisBroker): proper import path to lua script
* chore: fix tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-27 19:47:00 +00:00
Almeida
53d8e87d7f
fix: censor token in debug output ( #8764 )
...
Co-authored-by: Aura Román <kyradiscord@gmail.com >
2022-10-27 12:50:11 +00:00
Ryan Munro
fc10774461
feat: allow deletion of ephemeral messages ( #8774 )
...
* feat: allow deletion of ephemeral messages
* fix: restore missing key
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-27 11:22:12 +00:00
hackermon
68d5712dea
fix: make ratelimit timeout require event loop to be active ( #8779 )
...
* fix issue with ratelimits not working correctly
related to #8757
The ``ref`` option doesn't require the Node.js event loop to remain active when waiting for the timeout causing the program to end if there isn't an active gateway connection.
* Update packages/rest/src/lib/handlers/SequentialHandler.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/rest/src/lib/handlers/SequentialHandler.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-10-23 10:45:02 +00:00
iCrawl
b2658ce504
chore: update eslint-config-neon
2022-10-20 03:39:38 +02:00
iCrawl
3cc50b9e95
chore: deps
2022-10-20 03:11:41 +02:00
iCrawl
c0e3629f64
ci: properly cache yarn deps
2022-10-20 02:52:59 +02:00
iCrawl
7083df7cef
fix: styling and separation border for enums/interfaces
2022-10-17 23:40:34 +02:00
Synbulat Biishev
caeb1cbfdb
feat(GuildChannelManager): add .addFollower() method ( #8567 )
...
* feat(GuildChannelManager): add `.addFollower()` method
* docs: dpply suggestions
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: resolve from `GuildChannelManager`
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* types: correct channel type
* docs: update description
Co-authored-by: A. Román <kyradiscord@gmail.com >
* docs: update description
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-16 16:04:30 +00:00
iCrawl
4f3c13628e
fix: include brokers readme
2022-10-14 23:46:35 +02:00
iCrawl
94097d365a
fix: default to main for stable selection
2022-10-14 23:38:08 +02:00
iCrawl
8af0b38b6c
fix: fallback to main
2022-10-14 23:29:37 +02:00
Jiralite
66097e0cb0
chore: Bump discord-api-types ( #8752 )
2022-10-14 23:20:26 +02:00
DD
bf9aa1858d
feat: @discordjs/brokers ( #8548 )
2022-10-13 22:20:36 +02:00
Jiralite
179392d6d7
docs: Remove unused imports ( #8744 )
2022-10-13 00:24:04 +02:00
Almeida
ea807e3eed
chore: remove downlevel-dts dependency from template ( #8743 )
2022-10-12 18:47:51 +00:00
Jiralite
ef29b5e51f
chore: Redirect voice examples to the new repository ( #8737 )
2022-10-12 12:27:02 +02:00
Almeida
cb3826ce6d
refactor(Embed): use embedLength function from builders ( #8735 )
2022-10-12 11:39:28 +02:00
Almeida
d7a45a0567
chore: update api-extractor configurations ( #8738 )
2022-10-12 11:38:14 +02:00
Suneet Tipirneni
49b91315f7
fix: extract text from link tags for descriptions ( #8739 )
2022-10-12 11:37:07 +02:00
StarkRights
5ffabb119f
fix: voice postbuild script ( #8741 )
2022-10-12 11:35:55 +02:00
iCrawl
eb46e3a5ad
feat: add model description to open-graph
2022-10-11 16:12:16 +02:00
iCrawl
e8f63617a2
chore: deps
2022-10-11 16:01:45 +02:00
Suneet Tipirneni
b05be9ec08
feat(website): Add utility for resolving summaries for json items ( #8734 )
2022-10-11 16:01:32 +02:00
iCrawl
9d8179c6a7
fix: pin @types/node version
...
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62629#issuecomment-1273892057
2022-10-11 14:32:38 +02:00
iCrawl
f92be4fb94
refactor: simplify path logic
2022-10-11 11:13:25 +02:00
iCrawl
c39faa94f6
chore: cleanup code
2022-10-11 09:36:36 +02:00
iCrawl
7b7cc6fde4
fix: localhost url for og:image
2022-10-11 08:54:07 +02:00
iCrawl
05fbe992e3
feat: og generation for models
2022-10-11 08:46:22 +02:00
iCrawl
698983b203
chore: deps
2022-10-11 04:09:02 +02:00
iCrawl
8b7ce2b61d
feat: inline code highlight
2022-10-11 04:06:14 +02:00
iCrawl
e17323c15c
fix: only include used fonts
2022-10-11 03:51:46 +02:00
iCrawl
f75f13d75b
feat: add og image gen
2022-10-11 03:34:29 +02:00
Almeida
d587467a38
chore: use @link instead of markdown link in tsdocs ( #8732 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 20:03:35 +00:00
iCrawl
5bfb61d5b8
ci: fix documentation workflow
2022-10-10 21:38:11 +02:00
iCrawl
c5d5840fef
chore(discord.js): release discord.js@14.6.0
2022-10-10 19:20:16 +02:00
iCrawl
a4bf975f49
chore(ws): release @discordjs/ws@0.4.1
2022-10-10 19:19:21 +02:00
DD
c2b677759b
fix(WebSocketShard): dispatch race condition ( #8731 )
2022-10-10 19:15:04 +02:00
MrMythicalYT
ac83ada306
types: fix events augmentation ( #8681 )
2022-10-10 19:14:49 +02:00
Almeida
02ffce8173
chore: make 'Note to developers' on version constant a regular comment ( #8730 )
...
chore: make 'Note to developers' a regular comment
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 14:42:03 +00:00
Almeida
caba122d20
fix: app paths ( #8729 )
2022-10-10 16:30:05 +02:00
RedGuy12
7b8966bca1
feat(Util): escape more markdown characters ( #8701 )
...
* feat(Util): escape more markdown characters
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* types(EscapeMarkdownOptions): update types
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* fix: lists bulleted with `*`
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* tests(escapeMarkdown): add tests
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-10 05:23:05 +00:00
iCrawl
3ed668e539
chore: move website and guide out of packages
2022-10-10 01:22:48 +02:00
NaeHyeok Jeong
0a9d57b011
chore: change token in readme to constant ( #8688 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-09 21:27:46 +00:00
JPBM135
a31e605e09
docs(Utils): remove private from parseEmoji ( #8718 )
...
chore(Utils): remove `private` from `parseEmoji`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-09 21:19:53 +00:00
Cit The Dev
7556db243d
docs: update UserContextMenuCommandInteraction documentation ( #8717 )
...
* Updated documentation for UserContextMenuCommandInteraction class
* Apply suggestions from code review
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-09 20:39:05 +00:00
Idris
4c2955a5de
fix(ClientOptions): make ClientOptions#intents returns an IntentsBitField ( #8617 )
...
* fix(ClientOptions): make ClientOptions#intents returns an instance of IntentsBitField
* fix: client.options
* fix(types): Client#options
* fix(WebSocketShard): remove require for IntentsBitField
* fix(eslint): yarn format
2022-10-09 20:05:50 +00:00
iCrawl
5f72d8b645
fix: website fonts
2022-10-09 02:10:35 +02:00
iCrawl
a5d2ce2059
fix: alert component text selection
2022-10-09 01:23:54 +02:00
Ryan Munro
e548e6a10b
fix: correctly construct a builder ( #8727 )
2022-10-09 01:07:12 +02:00
1Computer1
6fd331dd52
fix(Components): error with unknown components ( #8724 )
2022-10-09 01:06:37 +02:00
iCrawl
32297d4717
feat: prefetch pages for better navigation
2022-10-09 01:03:44 +02:00
Suneet Tipirneni
1b4f69b00a
feat(guide): add github links for pages ( #8725 )
2022-10-09 00:58:28 +02:00
iCrawl
1ea7664aa3
fix: remove turbo experiment again
2022-10-09 00:19:53 +02:00
iCrawl
723c0b9b55
fix: 404 not resolving
2022-10-08 23:59:47 +02:00
iCrawl
f0dd41fc93
build: compress prod build
2022-10-08 23:27:07 +02:00
iCrawl
b6c0ab8a41
feat: implement turbo for navigation
2022-10-08 22:49:56 +02:00
iCrawl
6120971ef8
fix: height styling on toc
2022-10-08 22:34:45 +02:00
iCrawl
87ec3922a3
chore: update readmes
2022-10-08 17:55:01 +02:00
iCrawl
3f006cd33c
build: fix cliff-jumper config
2022-10-08 17:32:07 +02:00
iCrawl
4bdd120e62
chore: deps
2022-10-08 16:55:34 +02:00
iCrawl
c0ea782dd4
chore(ws): release @discordjs/ws@0.4.0
2022-10-08 16:37:07 +02:00
iCrawl
ca21dc0f3b
chore(voice): release @discordjs/voice@0.13.0
2022-10-08 16:36:59 +02:00
iCrawl
4a57b3947a
chore(rest): release @discordjs/rest@1.3.0
2022-10-08 16:36:35 +02:00
iCrawl
41d1c2eefc
chore(proxy): release @discordjs/proxy@1.2.0
2022-10-08 16:36:20 +02:00
iCrawl
60c70389a4
chore(collection): release @discordjs/collection@1.2.0
2022-10-08 16:35:58 +02:00
iCrawl
f06d12fd73
chore(builders): release @discordjs/builders@1.3.0
2022-10-08 16:34:30 +02:00
iCrawl
dc31b76465
ci: update workflow for tags
2022-10-08 16:33:37 +02:00
iCrawl
ba90f14f9b
feat: auto-link headings
2022-10-08 15:44:00 +02:00
iCrawl
7b76b0b7e7
fix: proper root margin values for intersection observer
2022-10-08 14:31:26 +02:00
iCrawl
63939f8219
feat: automatic hash for anchors on scroll
2022-10-08 14:04:00 +02:00
Suneet Tipirneni
33ec49d5bf
feat(guide): add outline for pages ( #8722 )
...
Co-authored-by: iCrawl <buechler.noel@outlook.com >
2022-10-08 05:15:02 +02:00
Jeroen Claassens
d923d0ab96
build: switch to esbuild-plugin-version-injector for injecting version strings ( #8723 )
2022-10-08 02:54:45 +02:00
iCrawl
62332c2720
chore: deps
2022-10-07 20:26:45 +02:00
Parbez
7af3c3b6f1
fix: ws package.json path ( #8720 )
2022-10-07 19:42:04 +02:00
iCrawl
5730866073
feat: alert & discord components
2022-10-07 17:49:03 +02:00
Parbez
9f68d73706
fix: cliff.toml styling ( #8716 )
2022-10-07 13:57:48 +02:00
Noel
0ac3e766bd
feat: web-components ( #8715 )
2022-10-07 06:56:13 +02:00
iCrawl
76a7021452
chore: deps
2022-10-07 02:49:44 +02:00
iCrawl
103cb16be0
refactor: improve deprecation block
2022-10-07 02:45:04 +02:00
iCrawl
baa6c69835
refactor: improve tips/warnings
2022-10-07 02:44:28 +02:00
Suneet Tipirneni
f85022162d
feat(scripts): Add script to create a @discordjs package ( #8711 )
2022-10-07 02:38:58 +02:00
iCrawl
35bfba0c50
fix: info and caution components
2022-10-07 01:14:49 +02:00
iCrawl
ecfe4e3f1c
fix: index page
2022-10-07 00:33:41 +02:00
Noel
2628659747
feat: astro guide ( #8714 )
2022-10-06 23:53:35 +02:00
ckohen
01d75c8b8b
fix(Client): don't auth for webhook fetches with token ( #8709 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-06 19:43:00 +00:00
iCrawl
b64d657241
chore: removing building website from pre-commit
2022-10-06 12:36:26 +02:00
Almeida
7e51ea0ada
chore(util): add missing cliff-jumper config file ( #8707 )
2022-10-06 12:11:19 +02:00
Almeida
aec44a0c93
refactor: rename Error to DiscordjsError internally ( #8706 )
...
* refactor: rename Error to DiscordjsError internally
* chore: remove globalThis usage
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-06 09:21:03 +00:00
iCrawl
e745b95677
chore: deps
2022-10-05 20:57:39 +02:00
Suneet Tipirneni
9effd82abe
docs: fix AwaitMessageComponentOptions typedef ( #8696 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-05 20:41:36 +02:00
SpaceEEC
628759bcff
feat(GuildChannelManager): allow creating channels with a default auto archive duration ( #8693 )
2022-10-05 20:41:15 +02:00
muchnameless
a306219673
fix: re-export util ( #8699 )
2022-10-05 20:40:50 +02:00
Suneet Tipirneni
c0f7a1a89a
types(Message): remove & this from #inGuild typeguard ( #8704 )
2022-10-05 20:40:28 +02:00
Julian
a7eab50ee3
fix(WebSocketShard): add ready data parameter to ready event ( #8705 )
2022-10-05 20:39:05 +02:00
Jiralite
ace974fc1f
fix: Throw discord.js errors correctly ( #8697 )
...
fix: import errors correctly
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-05 16:16:07 +00:00
iCrawl
d9137c3658
chore: deps
2022-10-04 01:10:35 +02:00
iCrawl
b7fadb350a
fix: sidebar menu styling
2022-10-04 01:02:37 +02:00
iCrawl
1f944b889f
feat: allow search by tags
2022-10-04 00:47:15 +02:00
iCrawl
b187a18e9c
feat: properly build search indicies
2022-10-04 00:46:15 +02:00
iCrawl
0b8651cf85
chore: remove building package docs with old docgen
2022-10-03 14:32:40 +02:00
iCrawl
bf92172d80
chore(util): release @discordjs/util@0.1.0
2022-10-03 14:08:03 +02:00
Suneet Tipirneni
b2ec865765
feat: add @discordjs/util ( #8591 )
...
* feat: add @discordjs/util
* fix: builders test
* refactor: make rest use lazy for ESM import
* chore: make requested changes
* Apply suggestions from code review
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
* chore: make requested changes and add tests
* chore: regen lockfile
* test: add type tests
* chore: push missing files
* chore: make requested changes
* chore: update CI stuff
* chore: fix lockfile
* chore: make requested changes
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-02 18:00:31 +00:00
SpaceEEC
3f8656115b
fix(SequentialHandler): throw http error with proper name and more useful message ( #8694 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-01 14:50:18 +00:00
Almeida
883f6e9202
feat(ForumChannel): add defaultSortOrder ( #8633 )
2022-10-01 14:00:30 +00:00
Almeida
2ea2a85e63
types(ModalBuilder): fix constructor typings ( #8690 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-01 13:53:56 +00:00
DD
f063625836
fix(proxyRequests): forward query parameters ( #8691 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-01 13:46:52 +00:00
DD
6398e46043
chore(proxy-container): update README for proper request forwarding ( #8692 )
...
* chore(proxy-container): update README for proper request forwarding
* chore: remove unused import
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-01 13:40:24 +00:00
Almeida
d24dbf7d22
chore(deps): bump discord-api-types ( #8685 )
2022-10-01 13:30:19 +00:00
A. Román
3c231ae81a
feat: add AbortSignal support ( #8672 )
...
* feat: add `AbortSignal` support
* fix: move the expect earlier
* fix: pass signal
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-25 18:44:03 +00:00
iCrawl
9f63eb977f
chore(discord.js): release discord.js@14.5.0
2022-09-25 19:17:25 +02:00
iCrawl
c69f512450
chore(rest): release @discordjs/rest@1.2.0
2022-09-25 19:11:48 +02:00
iCrawl
4a07f9eaa1
chore: deps
2022-09-25 19:08:39 +02:00
Khafra
64cd53c4c2
feat(rest): use Agent with higher connect timeout ( #8679 )
...
* feat(rest): use Agent with higher connect timeout
* chore: lint
* chore: I'm an idiot
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-25 12:45:36 +00:00
MrMythicalYT
d79aa2d0d0
docs: fix duplicate typedefs ( #8677 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-25 11:46:10 +00:00
Rodry
822b7f234a
types(Collection): make fn return type unknown ( #8676 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-25 11:40:58 +00:00
Jiralite
8ca407e089
docs(ForumChannel): Add @implements ( #8678 )
2022-09-25 13:27:56 +02:00
Jiralite
0126d9b810
fix(ThreadChannel): Add forum channel to parent ( #8664 )
...
fix(ThreadChannel): add forum channel to parent
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:51:11 +00:00
Jiralite
e9931229ae
refactor(GuildBanManager): Add deprecation warning for deleteMessageDays ( #8659 )
...
refactor(GuildBanManager): add deprecation warning for `deleteMessageDays`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:45:30 +00:00
Jiralite
1486bc9336
types(GuildChannelManager): Handle forum channel overload ( #8660 )
...
types(GuildChannelManager): handle forum channel overload
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:40:19 +00:00
Almeida
16fcdc3687
fix(GuildChannelManager): allow creating webhooks on forums ( #8661 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:34:19 +00:00
Jiralite
8622939229
fix(ForumChannel): Implement missing properties and methods ( #8662 )
...
* fix(ForumChannel): implement missing properties and methods
* refactor(ForumChannel): remove redundant default
* docs(ForumChannel): remove superfluous wording
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:28:42 +00:00
Jiralite
2487e3bf76
types(Caches): Allow GuildForumThreadManager and GuildTextThreadManager ( #8665 )
...
types: allow `GuildForumThreadManager` and `GuildTextThreadManager`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:14:43 +00:00
Maksi
578bc951bd
fix: RepliableInteraction respect cached generic ( #8667 )
...
* fix: RepliableInteraction respect cached generic
* fix: prettier format
* Update packages/discord.js/typings/index.d.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:09:24 +00:00
Jiralite
1244854e13
fix(ThreadChannel): Allow editing flags ( #8671 )
...
fix(ThreadChannel): allow editing flags
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 14:02:30 +00:00
Almeida
b1e190c4f0
fix: allow adding forums to channelTypes ( #8658 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-24 13:37:41 +00:00
Jaworek
fc8ed816e6
fix(GuildChannelManager): typo in flags property name when editing ( #8669 )
...
* Update GuildChannelManager.js
* Update index.d.ts
* Update GuildChannelManager.js
* Update index.d.ts
2022-09-23 20:20:46 +00:00
Almeida
abb7226af3
feat(GuildChannelManager): allow editing flags ( #8637 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-21 22:00:06 +00:00
iCrawl
30ceaf7e47
chore: deps
2022-09-21 18:46:51 +02:00
iCrawl
9b40a79b3e
fix: focus-ring styles
2022-09-21 15:46:44 +02:00
iCrawl
0b12d6fa10
chore(discord.js): release discord.js 14.4.0
2022-09-21 14:09:39 +02:00
Jiralite
b106956308
feat(Widget): Allow forum channels ( #8645 )
2022-09-21 02:57:32 +02:00
Jiralite
6f1f465a77
feat(WelcomeChannel): Add forum channel as a type ( #8643 )
2022-09-21 02:57:18 +02:00
Almeida
eb98372dcd
chore: fix proxy-container Dockerfile ( #8648 )
2022-09-21 02:56:47 +02:00
Jiralite
5048a3d17a
feat: Allow forum channels in webhook update event ( #8646 )
...
feat: allow forum channels in webhook update event
2022-09-20 11:51:34 +00:00
Jiralite
f0497343f1
docs: Correctly overwrite setRTCRegion method ( #8642 )
...
docs: correctly overwrite `setRTCRegion` method
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 21:07:58 +00:00
Jiralite
f6f15d8e87
fix: Correct applied tags type ( #8641 )
...
* fix: correct applied tags type
* types: this is never a private thread channel
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 21:02:36 +00:00
Jiralite
14bbc9150a
types: Narrow channel type in thread managers ( #8640 )
...
types: narrow channel type in thread managers
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 20:00:59 +00:00
Jiralite
a7f816eeb7
fix(ThreadChannel): Make fetchStarterMessage() work in forum posts ( #8638 )
...
fix(ThreadChannel): make `fetchStarterMessage()` work in forum posts
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 19:55:33 +00:00
Jiralite
802b2394b0
docs(GuildTextThreadManager): Document correct @extend ( #8639 )
...
docs(GuildTextThreadManager): document correct `@extend`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 19:50:18 +00:00
iCrawl
c446a84570
build: trigger rebuild
2022-09-19 15:40:57 +02:00
iCrawl
9cf0a4904b
chore: patch all versions of tsdoc-config
2022-09-19 15:35:29 +02:00
iCrawl
25dc146247
build: revert to using patch
2022-09-19 15:13:22 +02:00
iCrawl
a2b08aaf3b
build: different import for schema
2022-09-19 14:53:57 +02:00
iCrawl
eba9cc6038
chore: deps
2022-09-19 14:41:43 +02:00
Almeida
145eb2fc5d
fix: update messageCount/totalMessageSent on message events ( #8635 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-19 00:38:23 +00:00
Almeida
8444576f45
docs(builders/components): document constructors ( #8636 )
2022-09-19 02:32:28 +02:00
iCrawl
6d43e26676
fix: border color in dark mode
2022-09-18 20:27:04 +02:00
iCrawl
2fc3d86f56
feat: searchbar
2022-09-18 20:16:50 +02:00
Suneet Tipirneni
8a8d519c9c
feat: add support for guild forums ( #7791 )
...
* feat: add support for guild forums
* feat(webhook): add support for creating forum channel posts
* fix: duplicated docs
* feat: add support for message counts
* feat: add support for latest upstream changes
* fix: serialize forum channels
* types: fix channel unions
* types: fix tests
* types: fix tests (again)
* types: fix tests (again (again))
* chore: make requested changes
* chore: fix bugs and make requested changes
* types: use correct type for guild forum start messages
* chore: remove console.log
* chore: make requested changes
* chore: make requested changes
* chore: fix docs
* Update packages/discord.js/src/managers/GuildForumThreadManager.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: update types
* chore: make requested changes
* chore: Apply suggestions
Co-authored-by: Jaworek <jaworekwiadomosci@gmail.com >
Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com >
* fix: import `ErrorCodes`
* fix: remove defunct code
* refactor: be consistent with channel class names
* feat(GuildChannel): add flags
* fix: rename file
* refactor: channel flags are everywhere!
* fix: import flags correctly
* chore(ThreadChannel): update message count string
* docs(Channels): correct `@param` type
* docs(Channels): ignore transformGuildDefaultReaction
* refactor: emoji object in tags
* chore: renaming consistency
* fix: document default reaction emojis in patching
* fix(GuildChannelManager): document `defaultThreadRateLimitPerUser`
* chore: semicolon
* docs(ErrorCodes): document `GuildForumMessageRequired`
* refactor: transform default reactions
* docs(APITypes): Add `ChannelFlags`
* fix: convert tags properly
* fix: pass an array of snowflakes
* refactor: handle flags better
* fix(ThreadChannel): receive tags
* fix(PartialGroupDMChannel): nullify `flags`
Apparently did not do this earlier.
* chore: misc sorting
* refactor: nullify emoji on tags if not present
* refactor(ForumChannel): modify returns
* types: protect the thread manager!
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
* chore: update `ChannelType` usage
* Update index.d.ts
* docs: Update default reaction emoji property names
Co-authored-by: Almeida <almeidx@pm.me >
* fix: only `name` is required when editing tags
- discord/discord-api-docs#5458
* types: add tests for `channel.flags`
* fix: allow unsetting the default reaction emoji
* refactor: remove v13 remnants
* docs: add missing closing tag
* feat: add `rateLimitPerUser`
* feat: add missing properties for create guild channel
- discord/discord-api-docs#5474
* refactor(GuildForumThreadManager): refactor message payload
* fix: handle magical `null` case
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Jaworek <jaworekwiadomosci@gmail.com >
Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: A. Román <kyradiscord@gmail.com >
2022-09-18 14:23:44 +00:00
Almeida
669c3cd256
refactor: replace usage of deprecated ChannelTypes ( #8625 )
...
refactor: use new non-deprecated `ChannelType`s
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-17 13:56:19 +00:00
Suneet Tipirneni
678ceaa014
feat(website): use dropdowns for overloads ( #8630 )
...
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: iCrawl <buechler.noel@outlook.com >
2022-09-17 14:09:54 +02:00
iCrawl
0785353efe
fix: footer hiding properly
2022-09-17 00:31:28 +02:00
iCrawl
8323926304
fix: overflow in cmdk menu
2022-09-17 00:30:15 +02:00
iCrawl
bccc2c8e89
refactor: light theme for cmdk
2022-09-16 23:42:01 +02:00
iCrawl
1d72663e92
fix: allow usage of ctrl key additionally to metakey
2022-09-16 23:27:44 +02:00
iCrawl
d0a2a6227d
fix: prevent default for cmd+k
2022-09-16 23:17:05 +02:00
iCrawl
735e0bf52e
feat: search
2022-09-16 23:04:05 +02:00
Almeida
1c5b78fd21
fix(SlashCommandBuilder): missing methods in subcommand builder ( #8583 )
2022-09-15 20:19:13 +02:00
Almeida
053da5bc91
types(interactions): pass Cached type to return type of methods ( #8619 )
2022-09-15 20:18:48 +02:00
RedGuy12
fc9653f5ae
docs: fix regexps incorrectly being called global ( #8624 )
2022-09-15 20:15:01 +02:00
Almeida
22ac6b4660
docs: update misleading Client#guildMemberAvailable event description ( #8626 )
2022-09-15 20:13:55 +02:00
iCrawl
d14d47b62f
chore: dep cleanup
2022-09-12 18:46:15 +02:00
Jiralite
a9f003ac9b
types: Ensure events possess Client<true> ( #8612 )
...
types: ensure events possess `Client<true>`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-11 18:36:24 +00:00
RedGuy12
1d4cdee321
types(GuildChannelManager): correct fetch return type ( #8549 )
...
* types(GuildChannelManager): correct `fetch` return type
* fix(ci): fix the types tests
* fix: fix the docs
* Update packages/discord.js/src/managers/GuildChannelManager.js
Co-authored-by: Almeida <almeidx@pm.me >
* types: allow channels in the collection to be null
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* style: run prettier
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* test: fix types again
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* style: run prettier
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-11 18:29:28 +00:00
Jiralite
8e1afaebdb
refactor: Split message send/edit types/documentation ( #8590 )
...
* refactor: split message send/edit types
* refactor: move `MessageEditOptions`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-11 18:22:53 +00:00
advaith
32523325c6
docs(Options): update DefaultMakeCacheSettings ( #8585 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-11 18:16:34 +00:00
iCrawl
7a9e52e63a
fix: tiny screen cmdk size
2022-09-09 21:55:35 +02:00
iCrawl
d11edc6397
fix: build script for website
2022-09-09 00:23:42 +02:00
iCrawl
96304d7cc8
feat: command menu
2022-09-09 00:08:59 +02:00
iCrawl
f9e9bfdedc
chore: deps
2022-09-09 00:07:56 +02:00
iCrawl
ce1f5c8d47
feat: redirect to old docs for main documentation
2022-09-08 17:05:13 +02:00
advaith
03fb5b0a2f
feat(GuildBanManager#create): add deleteMessageSeconds ( #8326 )
...
* feat(GuildBanManager#create): add `deleteMessageSeconds`
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: remove typeof and return undefined if neither are set
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-08 13:15:01 +00:00
RedGuy12
ce991dd1d8
test: rename incorrect test ( #8596 )
2022-09-08 15:08:28 +02:00
Parbez
dbca93098c
chore: remove unused eslint disable comments ( #8595 )
2022-09-08 15:08:04 +02:00
A. Román
dd5a08944c
docs: change name ( #8604 )
2022-09-08 01:46:41 +02:00
iCrawl
8e98ba94d2
fix: properly center badge text
2022-09-07 22:57:35 +02:00
iCrawl
74dc8c10d5
fix: hide menu on click
2022-09-07 19:19:58 +02:00
iCrawl
8d07ea9a62
fix: dark/light theme fixes
2022-09-07 18:39:02 +02:00
iCrawl
d8e774138d
fix: accessibility improvements
2022-09-07 11:29:58 +02:00
Maksi
55c3ee20ae
feat: add typeguard to BaseInteraction#isRepliable ( #8565 )
...
* feat: add typeguard to BaseInteraction#isRepliable
* fix: redefine RepliableInteraaction
...to exclude impossible interactions rather than specify possible ones
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: remove InteractionResponseFields
* fix: replace InteractionResponseFields with RepliableInteraction in index test
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-06 17:56:21 +00:00
Noel
c3341570d9
refactor: website components ( #8600 )
2022-09-06 19:48:33 +02:00
Almeida
f3ce4a75d0
docs: use remarks instead of Note in descriptions ( #8597 )
2022-09-05 18:14:19 +02:00
iCrawl
4ffdada4f7
chore: deps
2022-09-04 19:33:57 +02:00
Almeida
8b3d006118
feat(Integration): add scopes ( #8483 )
2022-09-04 08:11:27 +00:00
Almeida
d08a57cadd
feat: add chatInputApplicationCommandMention formatter ( #8546 )
...
feat: add `chatInputApplicationCommandMention()` formatter
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-03 07:17:06 +00:00
iCrawl
0dc68445a1
refactor: open graph fixes
2022-09-03 05:02:16 +02:00
iCrawl
a7ad7e75ce
feat: open graph
2022-09-03 04:48:33 +02:00
Suneet Tipirneni
f79ccb4971
chore(website): bump api-extractor-model ( #8584 )
2022-09-03 01:14:00 +02:00
iCrawl
6f2b223c8b
refactor: extract create model function
2022-09-03 01:01:40 +02:00
iCrawl
a4777aa9b0
feat: add naive client-based search
2022-09-03 00:42:34 +02:00
iCrawl
f072d3d916
feat: redirect to latest version, otherwise click select version button
2022-09-02 22:42:12 +02:00
iCrawl
0238588067
build: fix website build
2022-09-02 22:07:19 +02:00
iCrawl
1d460e0434
chore: deps
2022-09-02 21:48:05 +02:00
RedGuy12
b9c62ac0f0
types(ThreadChannel): fetchStarterMessage must return a Message<true> ( #8560 )
...
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-09-02 18:44:39 +00:00
iCrawl
df46ab8061
build: tsup for better cjs / esm support
2022-09-02 18:08:16 +02:00
A. Román
b7eb96d456
types(interactions): fix {Slash,ContextMenu}CommandBuilder#toJSON ( #8568 )
2022-09-02 17:31:25 +02:00
D Trombett
f77612a55e
types(webhook): avatar can be null ( #8541 )
2022-09-02 15:30:06 +00:00
Suneet Tipirneni
9b4116b659
chore(website): put seperators between properties ( #8576 )
2022-09-02 17:20:57 +02:00
Almeida
8a91d7c256
fix: docgen ( #8582 )
2022-09-01 22:04:58 +02:00
iCrawl
3b7ba4062e
chore: fix leftover eslint exceptions
2022-09-01 21:26:09 +02:00
Suneet Tipirneni
edadb9fe5d
refactor: use eslint-config-neon for packages. ( #8579 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-09-01 20:50:16 +02:00
Parbez
4bdb0593ae
chore: bump typescript-eslint to support ts 4.8 ( #8573 )
2022-08-30 22:23:00 +02:00
iCrawl
fd97da9b6c
chore: missing config files
2022-08-29 21:48:12 +02:00
Suneet Tipirneni
d5dcddd350
feat: add util package for generating search indices ( #8571 )
2022-08-29 21:41:51 +02:00
Suneet Tipirneni
40324574eb
docs: remove xml tag from collection#find ( #8550 )
2022-08-29 18:05:30 +02:00
A. Román
1398af66f0
chore(github): resolved typos in issue templates ( #8564 )
2022-08-29 18:04:37 +02:00
iCrawl
682e0e1802
fix: don't prefetch as links enter viewport
2022-08-26 12:00:25 +02:00
iCrawl
13baf75cae
chore: return error
2022-08-24 06:09:39 +02:00
iCrawl
1d6b31b78d
fix: revalidate on notFound
2022-08-24 05:42:43 +02:00
iCrawl
5f093dde24
chore: log errors as errors
2022-08-24 05:36:10 +02:00
iCrawl
b58e6a65ad
fix: don't throw on not serializable kind
2022-08-24 05:23:03 +02:00
iCrawl
204f4dd7c4
chore: some logging
2022-08-23 22:37:19 +02:00
iCrawl
249ba0a9a6
refactor: contrast & colors
2022-08-23 21:31:38 +02:00
iCrawl
92933c2b61
refactor: memoize everything
2022-08-23 19:39:31 +02:00
iCrawl
abd3fc8ceb
fix: properly 404 and revalidate
2022-08-23 18:53:38 +02:00
iCrawl
84059b6b25
fix: affix position when ToC is visible
2022-08-23 17:32:03 +02:00
iCrawl
6da405668f
chore: just in case
2022-08-23 17:30:26 +02:00
iCrawl
58d2a1e6d7
chore: deps
2022-08-23 15:17:17 +02:00
iCrawl
7b5c688844
fix: mobile centering
2022-08-23 14:21:48 +02:00
iCrawl
28bc4f42c6
feat: light theme code blocks
2022-08-23 14:00:02 +02:00
iCrawl
5b4672bad3
refactor: css
2022-08-23 13:21:32 +02:00
iCrawl
a57b9ba5c4
refactor: mobile layout for badges
2022-08-23 12:54:40 +02:00
iCrawl
32da9b3868
fix: footer and sidebar mobile spacing
2022-08-23 12:06:18 +02:00
iCrawl
70806b401e
style: type import
2022-08-23 12:01:48 +02:00
iCrawl
0674820723
style: spacing
2022-08-23 11:20:08 +02:00
iCrawl
2d5bce274c
fix: footer on mobile
2022-08-23 11:13:39 +02:00
iCrawl
331dedcb9d
refactor: front page
2022-08-23 10:57:34 +02:00
iCrawl
103e1bd843
feat: add footer links
2022-08-23 10:11:07 +02:00
iCrawl
ffafde0b6b
refactor: make dark theme the default
2022-08-23 09:36:19 +02:00
iCrawl
28422eea58
fix: spacing of footer and affix
2022-08-23 09:15:33 +02:00
iCrawl
c826ad3ade
feat: markdown syntax highlighting
2022-08-23 08:48:44 +02:00
iCrawl
17559becef
refactor: change radius
2022-08-23 08:18:36 +02:00
iCrawl
b31a23b37c
build: "no default export"
2022-08-23 08:01:09 +02:00
iCrawl
8e4f77a63b
build: use module
2022-08-23 07:55:41 +02:00
iCrawl
b16ab8c69f
fix: check if router is ready before using its path
2022-08-23 07:07:22 +02:00
iCrawl
cf8570c19c
style: spacing on mobile
2022-08-23 07:05:48 +02:00
iCrawl
f0ab393411
fix: use correct icon on version select
2022-08-23 05:22:18 +02:00
iCrawl
11e02f1e5d
refactor: include item kind into url
2022-08-23 05:13:53 +02:00
iCrawl
206523587a
refactor: split out package constant
2022-08-23 04:20:41 +02:00
iCrawl
ac3bc6a2db
style: spacing
2022-08-23 04:11:12 +02:00
iCrawl
af295acedc
fix: wrong active item after anchor select
2022-08-23 03:59:53 +02:00
iCrawl
caa5c0332f
feat: add anchor icon
2022-08-23 03:06:21 +02:00
iCrawl
434f696397
refactor: reset state and code cleanup
2022-08-23 02:38:53 +02:00
iCrawl
6062d361fb
feat: more fallback cases
2022-08-23 02:13:10 +02:00
iCrawl
2ecb862e76
feat: use fallback with loading
2022-08-23 01:43:10 +02:00
iCrawl
360936140b
fix: don't persist state between pages
2022-08-23 01:26:57 +02:00
iCrawl
0b56184ba7
fix: github link and light theme hover nav link
2022-08-23 01:21:28 +02:00
iCrawl
a55545850a
refactor: better spacing
2022-08-23 01:02:46 +02:00
iCrawl
f16b11a91d
feat: active navigation and back button
2022-08-23 00:44:09 +02:00
iCrawl
0fb2694871
refactor: switch to ssr for unbuilt pages
2022-08-23 00:13:04 +02:00
iCrawl
ee030003ec
fix: markdown images and links
2022-08-22 23:58:49 +02:00
iCrawl
29c51be1f4
feat: custom 404
2022-08-22 23:58:33 +02:00
iCrawl
43a78be70b
fix: return 404 if a fetch error or no data is returned
2022-08-22 23:29:23 +02:00
iCrawl
92c0c60519
feat: version picker
2022-08-22 23:08:23 +02:00
iCrawl
ba3e0ed348
fix: footer / sidebar / deprecation alert
2022-08-22 22:15:50 +02:00
iCrawl
f7ce9f8533
feat: footer
2022-08-22 21:52:17 +02:00
iCrawl
00990c93ae
chore: missing vercel banner
2022-08-22 21:06:34 +02:00
iCrawl
c076b0d8cb
fix: don't redirect to the first item
2022-08-22 21:02:15 +02:00
iCrawl
d297fb0b69
feat: readme if no member is selected
2022-08-22 20:51:43 +02:00
iCrawl
24c128d649
feat: experiment with spotlight
2022-08-22 19:44:56 +02:00
iCrawl
ec7c6e3d3e
fix: selecting packages on the sidebar
2022-08-22 18:38:07 +02:00
iCrawl
6dfb9bbc48
feat: generate all tags
2022-08-22 18:30:46 +02:00
Suneet Tipirneni
4644e45e85
fix(website): use inter font for titles ( #8542 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-22 18:29:26 +02:00
iCrawl
1e001601c8
refactor: change url scheme
2022-08-22 16:50:43 +02:00
iCrawl
1aec243b1d
feat: packages route
2022-08-22 16:01:42 +02:00
iCrawl
191951ac28
feat: add ToC to interfaces
2022-08-22 15:38:47 +02:00
iCrawl
4fb4492b17
refactor: icons and head
2022-08-22 15:34:21 +02:00
iCrawl
abb968de81
feat: favicon
2022-08-22 14:57:51 +02:00
iCrawl
d9e53093f5
fix: properly check for properties and methods
2022-08-22 14:32:59 +02:00
iCrawl
e5678f4656
feat: list properties and method in table of content
2022-08-22 14:30:15 +02:00
iCrawl
9f18036078
fix: hydration error
2022-08-22 14:29:31 +02:00
iCrawl
474eae0afc
style: change how optionals are displayed
2022-08-22 14:19:02 +02:00
iCrawl
caeb66e150
fix: overflowing content
2022-08-22 14:12:53 +02:00
iCrawl
7623fc552e
ci: don't double check inputs
2022-08-22 12:11:45 +02:00
iCrawl
230c43e97d
build: fix downlevel-dts
2022-08-22 11:29:57 +02:00
iCrawl
4e3fa586b5
chore(discord.js): release discord.js@14.3.0
2022-08-22 10:56:30 +02:00
Jiralite
6bb1474d20
types: Inference of guild in MessageManager ( #8538 )
...
* types: better inference of message manager
* types: alter helper methods
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-22 08:31:02 +00:00
iCrawl
27bbc8fe68
chore(builders): release @discordjs/builders@1.2.0
2022-08-22 10:10:19 +02:00
iCrawl
e2cde5daa0
chore(collection): release @discordjs/collection@1.1.0
2022-08-22 10:08:38 +02:00
iCrawl
0960457108
chore: update proxy and rest in proxy-container
2022-08-22 10:07:22 +02:00
iCrawl
cd6b365b17
chore: changelog
2022-08-22 10:06:49 +02:00
iCrawl
19e1f5d0ca
chore(proxy): release @discordjs/proxy@1.1.0
2022-08-22 10:04:03 +02:00
iCrawl
3621e5efbd
chore(rest): release @discordjs/rest@1.1.0
2022-08-22 10:01:34 +02:00
iCrawl
d2f5b5b539
chore(ws): release @discordjs/ws@0.3.0
2022-08-22 09:57:26 +02:00
iCrawl
9ed11a4c19
chore: deps
2022-08-22 09:56:42 +02:00
Suneet Tipirneni
e42fd16369
feat(website): Show constructor information ( #8540 )
2022-08-22 09:45:53 +02:00
Jiralite
dd44e8b6ec
fix(proxyRequests): Typo in error message ( #8537 )
...
fix(proxyRequests): typo in error message
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-21 20:39:40 +00:00
Synbulat Biishev
3bef9018c0
fix(GuildMemberManager): add() method throws an error ( #8539 )
...
* fix(GuildMemberManager): `add()` method throws an error
* chore: update comment
2022-08-21 20:32:56 +00:00
Jiralite
23a0b6ccf2
fix(Guild): Widget channel types and fixes ( #8530 )
...
fix: various widget fixes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-21 09:28:31 +00:00
Jiralite
b3f7c32f7f
types: Allow choice's value type to be strictly inferred ( #8529 )
...
* types: stricter types for choices in options
* test: add choice tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-20 20:29:16 +00:00
Jiralite
0dba8adbd2
types(GuildAuditLogs): Allow fetching to return all possible values ( #8522 )
...
types: allow everything to be returned upon fetching
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-20 19:03:36 +00:00
Jiralite
2b8074dd12
refactor(GuildAuditLogsEntry): Remove guild from application command permission update extra ( #8520 )
...
refactor(GuildAuditLogsEntry): remove guild extra
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-20 18:51:39 +00:00
InkoHX
16bbc8aa20
types: Correct EventEmitter.on (static) return type ( #8524 )
...
types: Correct EventEmitter.on (static) return type
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-20 18:45:56 +00:00
Jiralite
7a3d18dd6d
types(GuildAuditLogs): Remove static Entry ( #8521 )
...
types(GuildAuditLogs): remove static `Entry`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-20 18:34:32 +00:00
Jiralite
4882b17a77
types: Disallow some channel types from webhook creation ( #8531 )
...
types: disallow some channel types from webhook creation
2022-08-20 18:26:33 +00:00
Suneet Tipirneni
8028813825
feat(website): render @defaultValue blocks ( #8527 )
...
feat(website): render @defaultValue blocks
2022-08-19 18:24:55 +02:00
Suneet Tipirneni
47f2990b89
feat(website): show inherited members ( #8526 )
...
* feat(website): show inherited members
* fix: use passHref
2022-08-19 18:22:22 +02:00
Suneet Tipirneni
e475b63f25
feat(website): show descriptions for @typeParam blocks ( #8523 )
2022-08-19 10:55:43 +02:00
iCrawl
673262d38c
feat: deprecation badges
2022-08-18 18:47:44 +02:00
Suneet Tipirneni
7f415a2502
feat(website): show parameter descriptions ( #8519 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-18 18:38:27 +02:00
DD
cda3f005b1
feat(GuildMemberManager): addRole and removeRole ( #8510 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-18 10:58:35 +02:00
Synbulat Biishev
f9c25ddcfe
feat: deprecate ActionRow.from() ( #8504 )
...
* feat: deprecate `ActionRow.from()`
* feat: deprecate `ActionRow.from()`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-18 07:06:01 +00:00
iCrawl
74740260a7
ci: fix if statement, again
2022-08-17 23:51:07 +02:00
iCrawl
1008e3d4a7
ci: fix if check
2022-08-17 23:46:22 +02:00
iCrawl
17ab0e652c
refactor: inline table of contents
2022-08-17 23:21:23 +02:00
Noel
872ce801a0
revert: "refactor(website): use mantine code blocks" ( #8514 )
2022-08-17 23:04:47 +02:00
Suneet Tipirneni
0bf3df30da
refactor(website): use mantine code blocks ( #8512 )
2022-08-17 22:38:11 +02:00
iCrawl
20680efbc9
feat: more visibly annotate optionals
2022-08-17 22:16:22 +02:00
Jiralite
7701331b1c
ci: Remove management of chore label ( #8508 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-17 20:12:54 +00:00
Suneet Tipirneni
0be85fd101
feat(website): render @deprecated and @remarks blocks ( #8511 )
2022-08-17 21:51:29 +02:00
iCrawl
e147c5bd64
fix: codelisting
2022-08-17 21:24:38 +02:00
iCrawl
2f1ec7401c
feat: table of contents / method visibility / property modifiers
2022-08-17 21:12:09 +02:00
Suneet Tipirneni
0f83402985
refactor(website): adjust typography ( #8503 )
2022-08-17 10:17:09 +02:00
Parbez
d97cd936fd
chore: bump vitest and add @vitest/coverage-c8 ( #8507 )
2022-08-17 09:44:21 +02:00
Jiralite
812f7f1ea8
types: Implement max/min values for autocomplete ( #8498 )
...
* types: implement max/min values for autocomplete
* refactor: deduplicate options
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 20:37:08 +00:00
Jiralite
7d2507279c
docs(GuildAuditLogsEntry): Correct action wording ( #8499 )
...
docs(GuildAuditLogsEntry): fix `action` wording
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 20:30:07 +00:00
Rodry
c31a5cfcc8
types(ModalMessageModalSubmitInteraction): channelId is not nullable ( #8496 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 15:38:30 +00:00
DD
acdafe60c7
fix(WebSocketShard#destroy): wait for close and cleanup listeners ( #8479 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 15:33:00 +00:00
DD
4fd42528fe
fix(WebSocketManager#connect): check if we have enough sessions ( #8481 )
...
* fix(WebSocketManager#connect): check if we have enough sessions
* fix: more useful error message
* fix: tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-16 15:28:01 +00:00
ZyX
ebaf158006
types: change type of ApplicationCommandSubCommand.options ( #8476 )
...
* types: change type of ApplicationCommandSubCommand.options
* types: change type of ApplicationCommandSubCommand.options
* Update packages/discord.js/typings/index.d.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-08-16 14:39:16 +00:00
Suneet Tipirneni
7116647947
feat(website): render tsdoc examples ( #8494 )
2022-08-16 16:33:49 +02:00
iCrawl
c99b808882
ci: fix workflow
2022-08-16 16:24:07 +02:00
iCrawl
a1dddd6b2c
build: only build web on vercel
2022-08-16 16:07:08 +02:00
iCrawl
b3db9eef32
build: force a docs rebuild
2022-08-16 15:51:51 +02:00
iCrawl
501945215b
ci: use concurrency
2022-08-16 11:00:17 +02:00
iCrawl
e82b2e49f5
fix: use correct env file
2022-08-15 19:17:41 +02:00
iCrawl
5f42b5af30
feat: fetch from local when developing or CI build
2022-08-15 19:13:01 +02:00
iCrawl
35e79b389d
fix: correctly handle overflowing content
2022-08-15 18:35:34 +02:00
iCrawl
5dc7946df2
fix: properly render critical styles on the server
2022-08-15 18:23:10 +02:00
iCrawl
1e00f5789e
chore: enable kodiak for auto merges
2022-08-15 16:56:30 +02:00
iCrawl
85cb0f25c7
build: run build with concurrency but everything else parallel
2022-08-15 16:16:12 +02:00
iCrawl
3cc893a282
build: enable parallel building for turbo
2022-08-15 16:12:45 +02:00
Marcus Otterström
fc99bf431a
Specify time unit in awaitModalSubmit ( #8484 )
2022-08-15 16:07:03 +02:00
Noel
4ab1d09997
refactor: docs design ( #8487 )
2022-08-15 14:48:00 +02:00
iCrawl
d09ef1e425
build: switch back to turbo for speedz
2022-08-15 14:19:17 +02:00
iCrawl
d56590a11d
chore: use external collection for docgen
2022-08-15 13:50:41 +02:00
iCrawl
c052f56f3e
ci: fix typechecking in ci
2022-08-15 00:42:33 +02:00
iCrawl
cb856860b7
ci: install dev deps everywhere
2022-08-14 21:30:55 +02:00
iCrawl
4cf265c7c6
ci: exclude shared match
2022-08-14 21:21:17 +02:00
iCrawl
3ec7ef07a0
ci: correctly reference job
2022-08-14 21:17:12 +02:00
iCrawl
90e7aea443
ci: check for shared additionally to packages
2022-08-14 21:04:51 +02:00
iCrawl
1211c7fc10
ci: fix dependency
2022-08-14 20:12:58 +02:00
iCrawl
84a4b1f58a
ci: only test run affected packages
2022-08-14 20:12:02 +02:00
iCrawl
193b252672
docs: fence examples in codeblocks
2022-08-14 19:25:25 +02:00
DD
bc06cc638d
feat(WebSocketShard): support new resume url ( #8480 )
2022-08-14 12:01:35 +02:00
iCrawl
d08da8a212
refactor: properly handling spacing
2022-08-13 20:42:03 +02:00
iCrawl
5360099e5f
build: don't build website on ci, let vercel handle it on changes
2022-08-13 20:14:28 +02:00
Suneet Tipirneni
fd4844ddb9
feat(website): add support for function overloads ( #8474 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-13 20:14:23 +02:00
iCrawl
8e69efde04
feat(website): breadcrumbs layout
2022-08-12 17:04:12 +02:00
iCrawl
2447165c82
fix(website): accessibility
2022-08-12 17:03:04 +02:00
Jiralite
c97977a3e8
fix(Embed): Reference video in video ( #8473 )
2022-08-12 05:09:44 +02:00
iCrawl
7666a6c341
chore: update changelog
2022-08-10 20:56:22 +02:00
iCrawl
9d8966fe24
chore(discord.js): release discord.js@14.2.0
2022-08-10 20:50:57 +02:00
iCrawl
4d128acac5
chore: deps
2022-08-10 20:37:25 +02:00
iCrawl
831d6506cb
chore: update changelog
2022-08-10 20:26:45 +02:00
RedGuy12
c5b96a185c
types(Message): correct bulkDelete return type ( #8465 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-10 20:25:12 +02:00
Jiralite
afa27b15c5
fix(ThreadChannel): Handle possibly null parent ( #8466 )
2022-08-10 20:16:57 +02:00
iCrawl
4d7283933d
chore: update changelog
2022-08-10 19:44:23 +02:00
Jan Parisek
452e94fd3e
types: fix missing types for mentionable options ( #8443 )
...
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-08-10 18:33:52 +02:00
Jiralite
6c6fe74dd8
fix: Remove DM channels from Client#messageDeleteBulk's types ( #8460 )
2022-08-10 18:29:46 +02:00
A. Román
0e2a09571c
fix(Transformers): do not transform Date objects ( #8463 )
2022-08-10 18:28:35 +02:00
Ryan Munro
0fab869e51
fix(ModalSubmitInteraction): allow deferUpdate ( #8455 )
2022-08-10 18:25:56 +02:00
advaith
64a4041a05
docs: change registration example to use global commands ( #8454 )
2022-08-10 18:25:31 +02:00
Jan Parisek
38275fc53d
types(ApplicationCommandOption): add ApplicationCommandBooleanOption ( #8434 )
2022-08-10 18:24:50 +02:00
n1ck_pro
aac8acc22b
fix(Guild): unable to fetch templates ( #8420 )
2022-08-08 11:11:10 +02:00
Ryan Munro
6ef4754d40
docs(Colors): provide enum descriptions ( #8437 )
2022-08-08 11:10:43 +02:00
Almeida
b8a31360a2
fix(MessageMentions): infinite loop in parsedUsers getter ( #8430 )
2022-08-08 11:10:32 +02:00
RedGuy12
5b053cf82e
docs(AttachmentBuilder): fix #8407 ( #8421 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-08-08 11:06:11 +02:00
Synbulat Biishev
e72b986939
fix(DataResolver): make Buffer from string ( #8416 )
2022-08-08 11:05:56 +02:00
Jiralite
3a96ce7970
feat(Guild): Add max_video_channel_users ( #8423 )
2022-08-08 11:05:40 +02:00
SpaceEEC
359f688555
fix(WebSocketShard): always reconnect on disconnected with 1000 ( #8405 )
2022-08-01 13:24:25 +02:00
SpaceEEC
3161e1a1ac
fix(WebSocketShard): emit errors directly instead of objects ( #8406 )
2022-08-01 13:24:09 +02:00
iCrawl
4d8361c711
build: fix building actions
2022-07-30 22:02:02 +02:00
iCrawl
d6e4d149fd
chore(discord.js): release discord.js@14.1.2
2022-07-30 21:00:09 +02:00
DD
480c85c9c3
fix(errors): error codes ( #8398 )
2022-07-30 20:49:59 +02:00
iCrawl
b45b99f92b
chore(ws): release @discordjs/ws@0.2.0
2022-07-30 20:42:46 +02:00
DD
5137bfc17d
fix(WebSocketShard): account code 1000 with no prior indication ( #8399 )
2022-07-30 20:37:46 +02:00
Jiralite
fca3dada2a
docs(Embed): Ensure height and width are numbers ( #8396 )
2022-07-30 11:39:15 +02:00
Parbez
d070de6da7
chore: fix file path ( #8391 )
...
* chore: fix file path
* chore: emit only mjs
2022-07-29 18:43:57 +02:00
iCrawl
a3183cfad4
chore(discord.js): release discord.js@14.1.1
2022-07-29 13:47:21 +02:00
iCrawl
aba307341d
chore(builders): release @discordjs/builders@1.1.0
2022-07-29 13:42:55 +02:00
Parbez
c479d39a6b
chore: build only actions ( #8383 )
2022-07-29 11:19:54 +02:00
Parbez
52c2818b25
feat(website): add implements for class ( #8388 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-07-29 11:19:32 +02:00
iCrawl
d03cf6176c
chore(discord.js): release discord.js@14.1.0
2022-07-29 11:04:08 +02:00
iCrawl
11e77f7f86
chore: deps
2022-07-29 11:00:45 +02:00
iCrawl
2b1e88b5fa
chore: update changelog
2022-07-29 10:59:35 +02:00
Synbulat Biishev
e5bfe2c7c2
chore: reexport rest ( #8372 )
2022-07-29 10:47:30 +02:00
Jiralite
a7deb8f898
feat: Add channel & message URL formatters ( #8371 )
2022-07-29 10:47:23 +02:00
Almeida
b4e2c0c4d5
fix(MessageMentions): ignoreRepliedUser option in has() ( #8202 )
2022-07-29 10:47:05 +02:00
Suneet Tipirneni
33113614e0
feat(website): parse tsdoc comments ( #8386 )
2022-07-29 10:46:17 +02:00
Suneet Tipirneni
26556390a3
fix: use proper format for @link text ( #8384 )
...
fix(collection): use proper format for link text
2022-07-28 20:24:07 +02:00
Parbez
5494791313
docs: use link tags ( #8382 )
2022-07-28 19:18:42 +02:00
Parbez
c258bdf083
chore: cleanup tsup configs ( #8381 )
2022-07-28 18:57:57 +02:00
Parbez
ff5dd1fcb4
docs: hide sections with no members ( #8380 )
2022-07-28 17:55:46 +02:00
iCrawl
a38c58dbd0
feat: tertiary sidebar
2022-07-28 17:46:41 +02:00
Suneet Tipirneni
ec43c184fe
feat(website): add icons for sections ( #8377 )
...
* feat(website): add icons for sections
* chore: make requested changes
* fix: add icon for function parameters
2022-07-28 16:26:06 +02:00
iCrawl
c25e8ad78b
chore: use date order instead of topological for changelog
2022-07-27 14:36:09 +02:00
iCrawl
3f17ff23bf
chore: fix changelog
2022-07-27 14:22:13 +02:00
iCrawl
a7dc588d9f
chore(proxy): release @discordjs/proxy@1.0.1
2022-07-27 14:16:56 +02:00
iCrawl
2291429d30
chore(ws): release @discordjs/ws@0.1.0
2022-07-27 14:15:59 +02:00
iCrawl
bf7326729d
chore(rest): release @discordjs/rest@1.0.1
2022-07-27 14:12:23 +02:00
iCrawl
124d8123b8
chore(collection): release @discordjs/collection@1.0.1
2022-07-27 14:10:17 +02:00
Jiralite
0b61dbf720
docs(InteractionResponses): Add showModal() return type ( #8376 )
2022-07-27 13:59:26 +02:00
Jiralite
ba6797e742
docs(WebhookClient): Document working options ( #8375 )
2022-07-27 13:05:47 +02:00
Jiralite
7fd9ed8f13
refactor: Deprecate Formatter class ( #8373 )
2022-07-27 13:05:31 +02:00
iCrawl
b6bba9901b
chore: deps
2022-07-27 12:23:07 +02:00
Jiralite
2130aae321
docs(Message): Document gateway intent for content ( #8364 )
2022-07-27 12:10:05 +02:00
Jiralite
80b9738957
docs: Use info blocks for requirements ( #8361 )
2022-07-27 12:09:50 +02:00
A. Román
5d8bd030d6
fix(Formatters): add newline in codeBlock ( #8369 )
2022-07-27 12:09:34 +02:00
Jiralite
e9920a9c98
docs(WebhookClient): Make constructor a union ( #8370 )
...
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
2022-07-27 12:09:18 +02:00
Jiralite
6d248051cf
refactor(PermissionOverwriteManager): Use OverwriteType ( #8374 )
2022-07-27 12:06:59 +02:00
iCrawl
798466a696
fix: various css for the sidebar
2022-07-26 09:48:40 +02:00
Suneet Tipirneni
1275918ca8
feat(website): group items by symbol kind ( #8360 )
...
* feat(website): group items by symbol kind
* chore: make requested changes
* chore: fix darkmode colors
* chore: make requested changes
* Update packages/website/src/components/ListSidebar.tsx
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Almeida <almeidx@pm.me >
2022-07-26 09:30:57 +02:00
SpaceEEC
a7d49e56fc
fix(GuildChannelManager): allow unsetting rtcRegion ( #8359 )
2022-07-26 09:29:30 +02:00
Ryan Munro
34ba9d1c4c
docs: update docs and examples to PascalCase links ( #8305 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-07-25 11:13:09 +02:00
Ryan Munro
77ed407f6a
feat: restore missing typeguards ( #8328 )
2022-07-25 11:12:48 +02:00
Rodry
4fc2c60a3b
feat(GuildMember): add dmChannel getter ( #8281 )
2022-07-25 11:12:00 +02:00
Jiralite
9f4446b10f
chore: Update update guide link ( #8358 )
...
chore: update update guide
2022-07-25 11:09:58 +02:00
Jiralite
78d4295a40
fix(WebSocketShard): Use correct import ( #8357 )
2022-07-25 11:09:27 +02:00
iCrawl
5a3c9996e0
fix(enums): dark theme colors
2022-07-25 01:38:17 +02:00
iCrawl
4fff6076e7
refactor: cleanup css
2022-07-25 00:55:40 +02:00
Suneet Tipirneni
4bda24678a
refactor(website): add typography improvements ( #8355 )
...
* refactor(website): add typography improvements
* chore: bold on hover
2022-07-24 21:56:50 +02:00
iCrawl
9ae461d84d
chore: rename docker publish
2022-07-24 18:51:26 +02:00
iCrawl
160487d866
chore: fix dockerbuild and add ws props everywhere
2022-07-24 18:49:06 +02:00
iCrawl
41e4e10b48
fix(Layout): refactor to sidebar layout component
2022-07-24 18:28:32 +02:00
Jiralite
200ab91f52
types(GuildAuditLogsEntryExtraField): Use AuditLogOptionsType ( #8349 )
2022-07-24 17:26:55 +02:00
Jiralite
3839958e3f
fix(ThreadChannel): Omit webhook fetching ( #8351 )
2022-07-24 17:18:08 +02:00
thehairy
58c1b51c5c
fix(GuildAuditLogsEntry): replace OverwriteType with AuditLogOptionsType ( #8345 )
2022-07-24 16:15:51 +02:00
Suneet Tipirneni
6a2d0d8e96
fix(selectMenu): allow json to be used for select menu options ( #8322 )
2022-07-24 15:14:33 +02:00
Suneet Tipirneni
335695c698
refactor: use next links ( #8344 )
...
* chore(website): use next links
* chore: fix deploy check
* chore: use ligher syntax highlighter
2022-07-24 15:14:18 +02:00
DD
8e520f946a
fix(ShardClientUtil#_respond): construct global error ( #8348 )
2022-07-24 15:13:13 +02:00
Jiralite
59a7e52224
fix: Ensure returns for function type definitions ( #8346 )
2022-07-24 13:44:46 +02:00
Jiralite
af837debe3
chore: Use raw GitHub link to show Vercel logo on website ( #8343 )
...
chore: use raw GitHub link to show on docs
2022-07-23 23:38:49 +02:00
Jiralite
df42fdfc42
fix(Presence): Do not return NaN for activity timestamp ( #8340 )
2022-07-23 18:21:47 +02:00
iCrawl
5f667c0c82
fix: correctly configure middleware
2022-07-23 04:13:16 +02:00
iCrawl
90cbd2bbd5
fix: move middleware into source directory
...
This needs to be on the same level as the pages directory, sometimes the documentation mentioned "root", but that obviously is not true if you use a src directory
2022-07-23 02:49:24 +02:00
iCrawl
f50382e1ce
feat: add middleware for path rewriting
2022-07-23 02:35:21 +02:00
iCrawl
1b03631205
chore: patch all versions of tsdoc-config
2022-07-23 01:57:47 +02:00
iCrawl
a490adfe36
chore: remove hoist and install normally
2022-07-23 01:41:12 +02:00
iCrawl
f097f0bc1f
chore: create patch for tsdoc-config
2022-07-23 01:38:21 +02:00
iCrawl
1d63d3ce1c
build: explicitly add deps
2022-07-23 01:24:45 +02:00
iCrawl
6d25fb8856
fix(yarn): don't hoist packages for website
2022-07-23 00:36:00 +02:00
iCrawl
86a9be7d33
fix(IRS): also generate index routes
2022-07-23 00:11:19 +02:00
iCrawl
82165d4f80
feat(IRS): next IRS
2022-07-22 23:39:48 +02:00
iCrawl
ee455c812e
refactor: switch to next.js
2022-07-22 21:47:06 +02:00
iCrawl
0d687b5606
chore: deps
2022-07-22 19:25:24 +02:00
DD
748d7271c4
feat: @discordjs/ws ( #8260 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
2022-07-22 19:13:47 +02:00
SpaceEEC
830c670c61
fix(Client): omit private properties from toJSON ( #8337 )
2022-07-22 17:11:54 +02:00
iCrawl
74ec7be346
chore: add lint-staged
2022-07-22 01:32:19 +02:00
iCrawl
96b62b6539
ci: rename files to match better naming
2022-07-20 22:33:23 +02:00
iCrawl
8a6ee906a7
ci: better naming for ci
2022-07-20 20:24:09 +02:00
Almeida
1fb7b30963
fix(ApplicationCommandManager): allow passing 0n to defaultMemberPermissions ( #8311 )
...
* fix(ApplicationCommandManager): allow passing 0n to defaultMemberPermissions
* fix(ApplicationCommand): equals()
2022-07-20 20:12:58 +02:00
iCrawl
45c9659080
ci: fix vercel deploy check
2022-07-20 19:03:48 +02:00
iCrawl
07a5cd7048
ci: check deploy branch vercel
2022-07-20 18:49:24 +02:00
iCrawl
d0e3c972b4
chore: reorder release steps
2022-07-20 18:44:44 +02:00
iCrawl
a05386a46c
ci: fix docs and dev publishes
2022-07-20 17:22:57 +02:00
Noel
3b0197bd8e
build: refactor build system ( #8324 )
2022-07-20 16:36:42 +02:00
iCrawl
d1245418f9
chore: add license to root
2022-07-19 20:11:23 +02:00
iCrawl
e7d4d41640
chore: use full link for vercel banner in readmes
2022-07-19 19:43:14 +02:00
iCrawl
ce1807dc80
fix(landing): vercel banner not wrapped in a tag
2022-07-19 19:41:14 +02:00
iCrawl
34d3917a28
chore: spacing on vercel logo
2022-07-19 19:38:11 +02:00
iCrawl
9e624abf1a
chore(discord.js): release discord.js
2022-07-19 18:40:01 +02:00
iCrawl
8c4b9865e1
fix(landing): vercel banner
2022-07-19 18:33:50 +02:00
iCrawl
dbad1c468b
chore: fix root vercel banner
2022-07-19 18:29:41 +02:00
iCrawl
4ffd7f9f80
chore: vercel banner
2022-07-19 18:26:03 +02:00
advaith
660e212e83
fix(Components): support emoji id strings ( #8310 )
2022-07-19 14:56:21 +02:00
iCrawl
70dd757ec3
refactor(theme): switch theme detection to use class
2022-07-18 19:53:07 +02:00
Suneet Tipirneni
b5d4b2d78b
feat(website): add basic landing page ( #8313 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-07-18 19:11:18 +02:00
iCrawl
78d013f87c
ci: fix building before linting/testing
2022-07-18 14:20:11 +02:00
iCrawl
21d61ca260
chore: remove parallel execution
2022-07-18 14:09:45 +02:00
iCrawl
b316ac7cc4
ci: remove turbo cache
2022-07-18 13:16:16 +02:00
iCrawl
ed94b3d9ec
chore: change versions
2022-07-18 12:52:15 +02:00
iCrawl
dcbbecfed2
chore: dev version
2022-07-18 12:28:39 +02:00
iCrawl
0c5e37d515
chore(discord.js): release discord.js
2022-07-18 12:26:49 +02:00
iCrawl
656e9550db
fix: default package to discord.js
2022-07-18 12:21:48 +02:00
DD
3a7e93df57
fix(DataResolver#resolveImage): adjust to updated resolveFile ( #8308 )
2022-07-18 12:17:46 +02:00
iCrawl
66092cad8b
feat(theme): dark theme detection
2022-07-18 02:57:29 +02:00
iCrawl
ec230faa4d
feat(theme): better dark theme
2022-07-18 02:35:34 +02:00
iCrawl
cd13a4a902
fix(sidebar): styling issues
2022-07-18 02:14:38 +02:00
iCrawl
dda2895bfb
chore: release bump
2022-07-17 22:37:01 +02:00
iCrawl
f0b77348d3
chore: bump dev version
2022-07-17 22:18:45 +02:00
iCrawl
b0a9131b1c
chore(discord.js): release discord.js
2022-07-17 22:15:00 +02:00
iCrawl
29be5b570b
chore: deps
2022-07-17 22:06:54 +02:00
iCrawl
d677c31161
chore: update dev versions
2022-07-17 22:05:32 +02:00
iCrawl
f6ef92ad6a
chore: release @discordjs/builders, @discordjs/collection, @discordjs/proxy, @discordjs/rest
2022-07-17 22:02:32 +02:00
Jiralite
52a9e213c2
fix(GuildMemberManager): Allow setting own nickname ( #8066 )
2022-07-17 21:47:02 +02:00
Almeida
b7e62380f2
test(builders): improve coverage ( #8274 )
2022-07-17 21:20:26 +02:00
Lo
cafde77d73
refactor(Util)!: rename fetchRecommendedShards ( #8298 )
2022-07-17 21:17:49 +02:00
Rodry
b7d4e55419
types(GuildFeature): allow feature strings to be passed ( #8264 )
...
Co-authored-by: Synbulat Biishev <syjalo.dev@gmail.com >
2022-07-17 21:14:54 +02:00
Almeida
5aeed99350
docs: align webhook method return types with implementation ( #8253 )
2022-07-17 21:14:25 +02:00
Jiralite
452dec57ca
docs: Remove @private constructor documentation ( #8255 )
2022-07-17 21:13:54 +02:00
Jiralite
64f814066c
refactor(Embed): Add all the types ( #8254 )
2022-07-17 21:13:40 +02:00
Rodry
33a7a5cbdc
types(CategoryChannelChildManager): fix Holds type ( #8288 )
2022-07-17 21:12:22 +02:00
iCrawl
edf83f02ea
chore: bump dev versions
2022-07-17 21:05:21 +02:00
iCrawl
25bd771559
chore(voice): release @discordjs/voice@0.11.0
2022-07-17 21:04:18 +02:00
iCrawl
f2ca0ca6f9
chore(rest): release @discordjs/rest@0.6.0
2022-07-17 21:03:35 +02:00
iCrawl
6712de9752
chore(collection): release @discordjs/collection@0.8.0
2022-07-17 20:59:54 +02:00
iCrawl
28cd293f14
chore: update changelog
2022-07-17 19:42:10 +02:00
iCrawl
3f5690afe1
chore(builders): bump dev version
2022-07-17 19:31:32 +02:00
iCrawl
015ab69956
chore(builders): release @discordjs/builders@0.16.0
2022-07-17 19:28:12 +02:00
iCrawl
caecc574f0
chore: deps
2022-07-17 19:20:40 +02:00
BattleEye
3bf30b1e6d
fix(PermissionOverwriteManager): mutates user ( #8283 )
2022-07-17 18:59:10 +02:00
DD
103a3584c9
refactor(rest): add content-type(s) to uploads ( #8290 )
2022-07-17 18:55:25 +02:00
Almeida
bf65b37d1a
types: remove MemberMention ( #8292 )
2022-07-17 18:54:44 +02:00
Parbez
7e6dbaaed9
types: remove expect error ( #8242 )
2022-07-17 18:53:40 +02:00
CallMe AsYouFeel
1a6ddbbe7b
fix(VoiceReceiver): parsePacket correctly ( #8277 )
2022-07-17 18:52:35 +02:00
Tiemen
32f9056b15
fix: slash command name regex ( #8265 )
2022-07-17 18:52:18 +02:00
Jiralite
3648f6d567
fix(GuildChannelManager): Access resolveId correctly ( #8296 )
2022-07-17 18:51:25 +02:00
Almeida
bddb6a461c
chore: ignore index files in coverage ( #8293 )
...
Co-authored-by: ckohen <chaikohen@gmail.com >
2022-07-17 18:51:03 +02:00
Jiralite
fe34f48efb
chore: Remove --cache ( #8279 )
2022-07-13 16:58:40 +02:00
Jeroen Claassens
30a8d3231f
chore: update Git Cliff TOMLs ( #8276 )
2022-07-13 09:49:17 +02:00
Suneet Tipirneni
1ed605eaa4
feat(website): add extends clauses, enum members and automatic -types links ( #8270 )
...
* feat(website): add extends clauses, enum members and automatic -types links
* chore: remove vscode settings
* refactor: remove util file
2022-07-12 22:42:32 +02:00
muchnameless
787654816d
fix(GuildChannelManager): edit lockPermissions ( #8269 )
2022-07-12 22:34:14 +02:00
Eejit
f0b68d5736
refactor: make GuildAuditLogsEntry.action return an AuditLogEvent ( #8256 )
2022-07-09 19:55:24 +02:00
Jiralite
75256153a9
types(GuildMemberManager): Fix placement for fetchMe() ( #8258 )
2022-07-09 19:43:02 +02:00
Suneet Tipirneni
33ae7df000
feat(website): add detailed property and method documentation ( #8252 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-07-08 22:03:18 +02:00
Tyler Resch
feb3bdda0a
types: convert Events to an enum ( #8246 )
2022-07-08 16:02:48 +02:00
Suneet Tipirneni
e78c9c9ee9
feat(website): show package members in a sidebar ( #8245 )
...
* feat(website): show package members in a sidebar
* fix: put response instead of loader
* Apply suggestions from code review
Co-authored-by: Noel <buechler.noel@outlook.com >
* chore: make requested changes
* refactor: make only package list scrollable
* feat: make sidebar mobile responsive
* fix: breakpoints for sidebar
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-07-07 22:09:19 +02:00
MateoDeveloper
43f62bb667
docs(ApplicationCommand): add min_length and max_length to ApplicationCommandOptionData ( #8239 )
2022-07-07 20:46:06 +02:00
Parbez
96c8d21f95
feat(builder): add max min length in string option ( #8214 )
2022-07-07 20:45:32 +02:00
Anton Istomin
10ba0080cc
fix(recorder-example): bump dependencies ( #8123 )
2022-07-06 22:25:10 +02:00
iCrawl
0b979b04f2
chore: add blocked label
2022-07-06 21:17:07 +02:00
Parbez
a4d1862982
refactor(builder): remove unsafe*Builders ( #8074 )
2022-07-06 20:42:51 +02:00
Suneet Tipirneni
34531c45e3
feat(website): add support for type parameter documentation ( #8237 )
2022-07-06 17:37:33 +02:00
Parbez
8198da5cd0
types(builder): remove casting ( #8241 )
2022-07-06 12:28:00 +02:00
iCrawl
ba10637529
chore: deps
2022-07-06 10:43:06 +02:00
iCrawl
68c3d8743e
refactor(createApiModel): reusable function for api model creation
2022-07-05 17:00:44 +02:00
Almeida
a51f7215ec
test(collection): improve coverage ( #8222 )
2022-07-05 16:10:42 +02:00
Jiralite
c271e05223
fix(SpeakingMap): Allow docgen to detect event name ( #8236 )
2022-07-05 16:10:23 +02:00
Almeida
d2e74003d5
chore: remove docgen test stuff ( #8231 )
2022-07-05 14:13:11 +02:00
ckohen
fd1c24036f
fix(codecov): use cobertura ( #8235 )
2022-07-05 12:32:05 +02:00
ckohen
eb9ad46d4f
fix(coverage): upload lcov instead of clover ( #8234 )
2022-07-05 10:52:38 +02:00
Almeida
5bd6b28b3e
fix(Collection): make error messages consistent ( #8224 )
2022-07-04 17:40:33 +02:00
ckohen
f6db285c07
docs: add codecov coverage badge to readmes ( #8226 )
...
* docs: add codecov coverage badge to readmes
* docs: fix tab-space consistency
2022-07-04 14:00:27 +02:00
Almeida
68ade870f8
chore: upgrade vitest and add it as dep on each workspace ( #8223 )
2022-07-04 11:51:48 +02:00
Jiralite
c7a205f7b9
types(GuildMemberManager): Non-void return of edit() ( #8186 )
2022-07-03 18:04:29 +02:00
Almeida
c5750d59f5
refactor: make ShardEvents the events of Shard ( #8185 )
2022-07-03 18:04:19 +02:00
Suneet Tipirneni
31d5930464
fix(SelectMenuBuilder): properly accept SelectMenuOptionBuilders ( #8174 )
2022-07-03 18:04:08 +02:00
Jiralite
cdd9214212
fix: Remove global flag on regular expressions ( #8177 )
2022-07-03 15:36:53 +02:00
A. Román
fa010b5162
fix(MessagePayload): guard against repliedUser property ( #8211 )
2022-07-03 15:36:32 +02:00
A. Román
6b20645740
refactor(Util): make single replace call in cleanContent ( #8210 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-07-03 15:36:20 +02:00
Almeida
50d55bd6b8
fix(ApplicationCommandManager): explicitly allow passing builders to methods ( #8209 )
2022-07-03 15:35:59 +02:00
Almeida
2d9dfa3c6e
fix(TextInputBuilder): parse custom_id, label, and style ( #8216 )
2022-07-03 15:35:19 +02:00
Tyler Resch
ab238a9046
docs(MessageInteraction#commandName): updated description ( #8212 )
...
Co-authored-by: A. Román <kyradiscord@gmail.com >
2022-07-03 15:34:47 +02:00
Parbez
94ee60d3d4
feat(applicationCommand): add max min length in string option ( #8215 )
2022-07-03 15:34:04 +02:00
ckohen
f10f4cdcd8
feat: codecov ( #8219 )
2022-07-03 15:33:18 +02:00
Suneet Tipirneni
d95197cc78
feat: add website documentation early mvp ( #8183 )
...
Co-authored-by: iCrawl <buechler.noel@outlook.com >
2022-07-01 20:54:15 +02:00
Jiralite
e0c8282490
docs: Add missing @extends ( #8205 )
2022-07-01 17:48:11 +02:00
tnfAngel
741b3c8e27
docs: Remove Music bot in voice examples ( #8203 )
2022-07-01 10:54:11 +02:00
iCrawl
819a1fdf7d
ci: check for main package before moving api-extractor docs
2022-06-30 16:17:52 +02:00
iCrawl
ce9afbb8e4
ci: fix building before generating docs
2022-06-30 15:56:07 +02:00
iCrawl
b2776c22d4
ci: api-extractor support for docs
2022-06-30 15:46:14 +02:00
DD
525bf031a5
chore: revert pre-commit hook to not change state ( #8200 )
2022-06-30 11:47:27 +02:00
CarelessInternet
27d8deb471
types: add missing shard types ( #8180 )
2022-06-30 00:37:55 +02:00
Xaliks
11b1739319
fix(GuildMemberRemove): remove member's presence ( #8181 )
2022-06-30 00:37:47 +02:00
Jiralite
b83e0c0caf
types: Implement GuildChannelEditOptions ( #8184 )
2022-06-30 00:37:38 +02:00
Almeida
8421f9203b
types(Status): add missing members ( #8179 )
2022-06-30 00:37:31 +02:00
A. Román
cb3dca4ae0
refactor(ApplicationCommandManager): use makeURLSearchParams ( #8196 )
2022-06-30 00:36:47 +02:00
MateoDeveloper
002d6a5aed
feat(BaseInteraction): add support for app_permissions ( #8194 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-06-30 00:36:32 +02:00
DD
c4653f97b1
feat(util): parseWebhookURL ( #8166 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-06-25 11:02:11 +02:00
Suneet Tipirneni
e24970e3c3
refactor: Use Base prefix for channel and interaction base classes ( #8099 )
2022-06-24 10:42:50 +02:00
Tyler Resch
65dc8d677e
types(GuildScheduledEvent#scheduledStartAt): should be nullish ( #8111 )
2022-06-24 10:42:39 +02:00
Almeida
0ffbef506a
fix: edit() data can be partial and defaultMemberPermissions can be null ( #8163 )
2022-06-24 10:42:20 +02:00
iCrawl
5d3dd55a26
chore(changelog): add v13 changelog
2022-06-23 18:28:32 +02:00
Skick
70b42bb64a
types(voice): bring back typed events ( #8109 )
2022-06-23 12:39:36 +02:00
Jan
af04992ed3
docs(Constants): fix SweeperKeys type ( #8157 )
2022-06-23 12:37:12 +02:00
ckohen
bbdb5d980b
revert: refactor: move eslint.tsconfig.json to root ( #8159 )
2022-06-23 12:36:42 +02:00
Suneet Tipirneni
7279f9c31b
types: fix modal builder constructor data type ( #8143 )
2022-06-22 20:37:46 +02:00
Jiralite
5e5853a4e8
docs(Channels): internally document channel creation ( #8154 )
2022-06-22 20:37:24 +02:00
Jiralite
cd17aad720
refactor(Constants): Remove leftover code ( #8156 )
...
* refactor(Constants): tidy up file
* docs(Constants): add type definition
2022-06-22 20:36:58 +02:00
Jiralite
ee36d60dc6
docs: Update threads to use ThreadAutoArchiveDuration ( #8153 )
2022-06-22 20:34:41 +02:00
SpaceEEC
c34c02ab8d
fix(WebSocketShard): keep an error handler on connections ( #8150 )
2022-06-22 20:34:11 +02:00
Almeida
31f658247f
fix(DJSError): error code validation ( #8149 )
2022-06-22 20:33:47 +02:00
Jiralite
a3799f9ebb
types: Use ThreadAutoArchiveDuration from discord-api-types ( #8145 )
2022-06-22 11:23:39 +02:00
Jiralite
a061233510
docs(APITypes): Remove duplicate type definition ( #8144 )
2022-06-22 11:23:17 +02:00
Jiralite
203bc4a2cf
docs: Document missing type definitions ( #8130 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-06-22 11:23:03 +02:00
Parbez
65d1879c0a
chore: move deps to root and some miscellaneous changes ( #8129 )
2022-06-21 15:15:38 +02:00
Parbez
c6f285b7b0
refactor: remove @sindresorhus/is as it's now esm only ( #8133 )
2022-06-21 14:41:33 +02:00
pat
2eeaad6f27
fix(vcs): nsfw property ( #8132 )
2022-06-21 14:35:42 +02:00
pat
f1ac17c961
docs(InteractionResponse): fix return ( #8141 )
2022-06-21 14:35:33 +02:00
Jiralite
db2b0333d9
fix(WebSocketManager): Correct error name ( #8138 )
2022-06-21 14:35:17 +02:00
DD
94f7ca9474
chore: update proxy-container README ( #8122 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-06-20 14:47:19 +02:00
DD
e68effa822
refactor: errors ( #8068 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-06-20 14:46:35 +02:00
iCrawl
358c3f4a46
chore: upgrade deps
2022-06-19 13:19:24 +02:00
DD
268a9b4be5
fix: vitest recursion ( #8121 )
2022-06-19 13:18:36 +02:00
KinectTheUnknown
95e6d6ede0
types(Shard#reconnecting): fix event name ( #8118 )
2022-06-19 12:24:04 +02:00
DD
17867f9154
fix(proxy-container): proper deps ( #8120 )
2022-06-19 12:17:47 +02:00
Jiralite
3a77ce0b18
docs(PermissionsBitField): Fix @name of bitfield ( #8115 )
...
docs(PermissionsBitField): `Permission` -> `PermissionsBitField`
2022-06-18 18:42:47 +02:00
Jiralite
23e183a9ac
fix(WebSocketShard): Disconnected casing ( #8117 )
2022-06-18 18:42:30 +02:00
Parbez
b3c3a94d5d
ci: don't run publish workflow on forks ( #8116 )
2022-06-18 18:42:09 +02:00
DD
8610700c87
fix(ci): log into dockerhub properly ( #8114 )
2022-06-18 13:59:05 +02:00
Jiralite
db663a55c2
docs: TextBasedChannel -> TextBasedChannels typos ( #8110 )
2022-06-18 13:02:41 +02:00
DD
0673ea377a
fix(proxy-container): add @discordjs/rest to deps ( #8113 )
2022-06-18 13:02:12 +02:00
DD
2681929e42
feat: proxy container ( #8000 )
2022-06-17 23:29:50 +02:00
Jiralite
0a138dab95
docs: Remove numbers from enums ( #8098 )
2022-06-17 23:28:30 +02:00
Jiralite
415513696c
docs(GuildAuditLogs): Fix and reimplement type definitions ( #8108 )
2022-06-17 23:27:54 +02:00
Almeida
90a98fee16
refactor(ClientOptions): remove $ prefix from ws.properties keys ( #8094 )
2022-06-17 23:26:42 +02:00
advaith
386c41f24f
docs(WebSocketOptions): add version to docs and typings ( #8050 )
2022-06-17 23:26:08 +02:00
pat
d54bf5d286
fix(webhooks): revert webhook caching (and returning Message) ( #8038 )
2022-06-17 23:25:46 +02:00
Jiralite
e5ec1c4dbc
refactor: Use GuildFeature enum ( #8101 )
2022-06-17 23:25:29 +02:00
Jiralite
ad9ab2b177
chore: Add MessageContent to issue form ( #8106 )
2022-06-17 23:24:26 +02:00
Rodry
4df491ce85
types(ApplicationCommand): fix typo in setDMPermission ( #8097 )
2022-06-16 09:59:46 +02:00
Jiralite
0a44b05db8
fix(ApplicationCommand): Remove autocomplete check at the top level and correctly check for dmPermission ( #8100 )
2022-06-16 09:58:54 +02:00
Almeida
b4e28a8ff6
types: fix setType() parameter and ChannelData.type ( #8089 )
2022-06-13 23:43:10 +02:00
Jiralite
9c0f190de1
docs(BaseGuildTextChannel): Update setType()'s parameter type ( #8088 )
2022-06-13 22:09:00 +02:00
BaumianerNiklas
093117d938
chore: remove -types import in readme example ( #8085 )
2022-06-13 21:42:28 +02:00
Suneet Tipirneni
e53d162198
refactor(util): make utility functions top level ( #8052 )
...
* refactor(util): make functions top level
* types: make channel typeguards more strict
* chore: make requested changes
2022-06-13 20:04:53 +02:00
Almeida
51eadf3737
docs: update outdated examples ( #8081 )
2022-06-13 18:18:15 +02:00
Jiralite
552ec72542
docs(ThreadMemberManager): Require member in FetchThreadMemberOptions ( #8079 )
2022-06-13 18:17:44 +02:00
Ben
ac7bf692bf
docs(AutocompleteInteraction): change useless log in responds example ( #8077 )
2022-06-13 18:16:54 +02:00
n1ck_pro
9964454c29
types: fix ApplicationCommandPermissionsUpdate event typings ( #8071 )
2022-06-13 18:16:07 +02:00
Rodry
476b7d519c
types(AutocompleteOption): fix and improve types ( #8069 )
2022-06-13 18:15:31 +02:00
Jiralite
10a6c4287d
feat(AutocompleteInteraction): Add commandGuildId ( #8086 )
2022-06-13 18:14:01 +02:00
Jiralite
a2eebf6c66
docs: Description and missing @typedef fixes ( #8087 )
2022-06-13 18:12:08 +02:00
CodeGoat
96053babe1
fix(ApplicationCommand): fix default member permissions assignment ( #8067 )
2022-06-11 11:05:43 +02:00
ckohen
f527dea36e
fix(scripts): read directory and rerun ( #8065 )
2022-06-11 11:04:53 +02:00
ckohen
c7391db11b
refactor(ApplicationCommand): permissions v2 ( #7857 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-06-10 21:34:17 +02:00
Suneet Tipirneni
c5176be14b
feat(guild): add support for setting MFA level ( #8024 )
2022-06-10 21:26:11 +02:00
Parbez
fbe67e1025
fix: select menu options to accept both rest and array ( #8032 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-06-10 21:22:04 +02:00
Parbez
3bb9c0e5c3
fix: check for function type ( #8064 )
2022-06-10 21:21:45 +02:00
DD
9c8b3102ce
refactor(*): include name/reason/etc fields into options/data params ( #8026 )
2022-06-10 21:20:59 +02:00
Jiralite
2392a6f5de
types(ThreadMemberManager): Fix return type of fetching members with no arguments ( #8060 )
...
* types(ThreadMemberManager): non-optional first overload for fetching
* test: organisation
2022-06-10 21:20:00 +02:00
Parbez
c0f079d232
typings: remove isAutocomplete typeguard from typings ( #8063 )
2022-06-10 21:19:44 +02:00
Jiralite
d8077c6839
fix(CommandInteractionOptionResolver): Handle autocompletion interactions ( #8058 )
2022-06-10 21:19:27 +02:00
iCrawl
d4b41dd081
feat(docgen): proper event parsing for typescript
2022-06-10 16:22:11 +02:00
pat
0415300243
feat(vcs): add missing property and methods ( #8002 )
2022-06-10 13:42:53 +02:00
Jeroen Claassens
caee94897f
build: fix git cliff config files ( #8057 )
2022-06-10 13:37:24 +02:00
iCrawl
b3346f4b9b
feat(docgen): update typedoc
2022-06-10 12:59:46 +02:00
iCrawl
2791c86cdf
chore: remove unneeded tsc build
2022-06-09 21:27:06 +02:00
Almeida
c8f1690896
refactor(collection): remove default property ( #8055 )
2022-06-09 20:53:23 +02:00
Jiralite
da9107c007
refactor(ThreadMemberManager): Consistent thread member fetching ( #8021 )
2022-06-09 20:52:56 +02:00
Suneet Tipirneni
f57d6768ad
refactor(interactions): remove redundant interaction typeguards ( #8027 )
2022-06-09 20:52:44 +02:00
iCrawl
d7b8357dcb
fix(docgen): strip dots from return types
2022-06-09 20:47:51 +02:00
A. Román
16810f3e41
refactor(collection): remove default export ( #8053 )
2022-06-09 16:53:01 +02:00
A. Román
598f61b992
fix(scripts): add quotes around blob arguments ( #8054 )
2022-06-09 16:52:18 +02:00
iCrawl
50401453e7
fix(docgen): shorten output for path info
2022-06-09 16:14:37 +02:00
Almeida
94bdcaca62
docs: ignore docs of unexported functions ( #8051 )
2022-06-09 13:58:42 +02:00
iCrawl
eea139b346
feat(docgen): support for ignore tag
2022-06-09 13:54:35 +02:00
iCrawl
50822f5254
fix(docgen): parsing constructor
2022-06-09 11:37:22 +02:00
muchnameless
f2b267c079
fix(Message): force fetching ( #8047 )
2022-06-09 10:35:52 +02:00
advaith
b2eea1c900
docs(ClientOptions): fix closeTimeout default ( #8049 )
2022-06-09 10:35:27 +02:00
iCrawl
3ae2633c3f
feat(website): add some styling
2022-06-08 23:40:03 +02:00
iCrawl
3937b402c0
fix(website): don't build concurrently
2022-06-08 22:26:39 +02:00
iCrawl
256c4f955c
feat(website): unocss
2022-06-08 21:45:16 +02:00
iCrawl
33cdcdbb7a
fix: vercel deployment
2022-06-08 20:09:23 +02:00
iCrawl
bc466a5997
fix(website): deployment
2022-06-08 19:36:09 +02:00
Noel
127931d1df
feat: website ( #8043 )
2022-06-08 19:13:31 +02:00
iCrawl
5259639c2c
fix: doc generation for return types
2022-06-08 19:12:42 +02:00
iCrawl
5de9b80814
fix: returns for typescript parsing
2022-06-08 18:41:22 +02:00
iCrawl
bc4fbcef2e
fix(serializer): properly serialize data
2022-06-08 18:11:25 +02:00
iCrawl
3279b40912
feat(docgen): typescript support
2022-06-08 17:26:54 +02:00
Synbulat Biishev
1afae909d7
fix(Attachment): do not destructure data ( #8041 )
2022-06-08 13:30:06 +02:00
iCrawl
65cb36166f
fix(VarType): parsing type names
2022-06-08 13:27:41 +02:00
Superchupu
ecc6600df2
refactor(docgen): use the node: protocol ( #8034 )
...
Co-authored-by: Synbulat Biishev <syjalo.dev@gmail.com >
2022-06-08 00:17:48 +02:00
iCrawl
314d76e907
fix(docgen): fix up method return types
2022-06-07 15:19:42 +02:00
Parbez
769ea0bfe7
refactor: move all the config files to root ( #8033 )
2022-06-07 12:35:19 +02:00
Noel
8b979c0245
feat: docgen package ( #8029 )
2022-06-07 10:51:33 +02:00
Noel
5475767c2c
build: use cliff-jumper for releases ( #8030 )
2022-06-07 00:59:21 +02:00
Jiralite
86d8fbc023
fix(DirectoryChannel): Type name and handle url ( #8023 )
2022-06-06 15:47:13 +02:00
iCrawl
fba9710fc9
chore(builders): dev version
2022-06-06 14:45:46 +02:00
iCrawl
5ca3974301
chore(release): version
2022-06-06 14:44:25 +02:00
iCrawl
3202c91c5a
chore: properly adapt changelog script
2022-06-06 14:43:15 +02:00
Jiralite
f3f34f07b3
docs(DirectoryChannel): Extend Channel ( #8022 )
2022-06-06 14:24:35 +02:00
Parbez
f8ed71bfca
fix: readd isThread type guard ( #8019 )
2022-06-06 14:24:03 +02:00
Voxelli
e1176faa27
feat: backport handle zombie connection ( #7626 )
...
* feat: backport zombie connection fixes
* fix: enums
* fix: prettier
* feat: add zombie connection event to shard events
* Apply suggestions from code review
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
* fix: prettier
* fix: handleZombieConnection
* feat: backport new logic of handling zombie connection
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
2022-06-06 12:21:35 +02:00
Caleb Lam
aa59a409b3
feat(CommandInteraction): add 'commandGuildId' ( #8018 )
2022-06-06 10:07:37 +02:00
Rodry
7fa698d23e
types(AttachmentBuilder): fix data type ( #8016 )
...
* types(AttachmentBuilder): fix data type
* types(MessageOptions): add AttachmentPayload
2022-06-06 10:07:15 +02:00
markisha64
b9df37a89f
refact: Sticker's tags property ( #8010 )
2022-06-05 23:29:31 +02:00
Rodry
ad75be9a9c
feat: allow builders to accept rest params and arrays ( #7874 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: Khafra <42794878+KhafraDev@users.noreply.github.com >
2022-06-05 23:29:16 +02:00
Suneet Tipirneni
70c733bb9a
refactor(channel): remove redundant channel type guards ( #8012 )
2022-06-05 23:29:05 +02:00
Rodry
a3287782b5
feat(MessageReaction): add react method ( #7810 )
2022-06-05 23:28:44 +02:00
Suneet Tipirneni
0ccc243c8f
types(modal): fix showModal() typings ( #8014 )
2022-06-05 23:28:28 +02:00
Almeida
0a7953e463
docs(Attachment): remove constructor doc ( #8009 )
2022-06-05 23:28:18 +02:00
Parbez
6aa623240e
types: fix some attachment related typings ( #8013 )
2022-06-05 22:37:56 +02:00
n1ck_pro
6266b0c1e3
types(AttachmentBuilder): remove name parameter from constructor ( #8008 )
2022-06-05 22:37:01 +02:00
Suneet Tipirneni
9720e55534
refactor: always return Message instances in interactions ( #7917 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-06-05 19:00:35 +02:00
Parbez
ad36c0be77
fix: add static method from in builders ( #7990 )
2022-06-05 18:33:19 +02:00
SpaceEEC
5987dbe5cf
docs(VoiceChannel): annotate that it is implementing TextBasedChannel ( #8007 )
2022-06-05 18:30:14 +02:00
Rodry
5244fe3c1c
feat(Collector): add ignore event ( #7644 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
2022-06-05 18:29:13 +02:00
Synbulat Biishev
349766dd69
feat(GuildMemberManager): add GuildMemberManager#fetchMe() ( #7526 )
2022-06-05 18:29:00 +02:00
markisha64
7a1095b66b
fix: typings ( #7965 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-06-05 09:36:59 +02:00
iCrawl
10009a43ee
ci: remove cache-dir from test
2022-06-05 01:14:39 +02:00
iCrawl
8d8e6c03de
feat: use vitest instead of jest for more speed
2022-06-05 01:07:10 +02:00
Suneet Tipirneni
dfadcbc2fd
refactor(attachment): don't return attachment builders from API ( #7852 )
...
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: A. Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-06-04 22:33:13 +02:00
n1ck_pro
546d48655f
docs: add missing discord-api-types external types ( #8001 )
2022-06-04 22:27:01 +02:00
iCrawl
f8739bd9c0
fix(voice): re-add accidental removal of postbuild script
2022-06-04 19:15:28 +02:00
iCrawl
f2ae1f9348
feat: add scripts package for locally used scripts
2022-06-04 19:07:50 +02:00
iCrawl
3401fd4eb6
chore: remove leftover files from pre-monorepo era
2022-06-04 18:41:37 +02:00
iCrawl
fdbd229832
ci: equality check on tag and package name
2022-06-04 17:57:07 +02:00
iCrawl
9e8e2411c1
ci: check for the correct prop to be defined
2022-06-04 17:51:31 +02:00
iCrawl
c02ced9a22
ci: fix if checks for branch/tag when using workflow dispatch
2022-06-04 17:37:00 +02:00
iCrawl
8c5a7f80ef
ci: fix inputs for workflow dispatches
2022-06-04 17:15:08 +02:00
iCrawl
14018b0118
ci: allow workflow dispatches
2022-06-04 17:13:40 +02:00
iCrawl
8095723604
chore: only build cjs for actions
2022-06-04 17:08:26 +02:00
iCrawl
e17bb54c85
chore: update dev versions
2022-06-04 17:01:47 +02:00
iCrawl
e92d937bcc
chore: release packages
2022-06-04 16:59:00 +02:00
iCrawl
091f1bd170
chore: deps
2022-06-04 16:49:47 +02:00
iCrawl
bd2cf20ecb
chore: re-generate changelogs
2022-06-04 16:42:00 +02:00
iCrawl
8af916dba0
chore: remove accidental changelog for voice
2022-06-04 16:22:31 +02:00
iCrawl
781a6e013c
chore: fix changelogs
2022-06-04 16:20:33 +02:00
iCrawl
2172a00c50
chore: remove unneeded actions dep
2022-06-04 15:45:18 +02:00
iCrawl
271b1c8e5d
feat: actions for workflows
2022-06-04 15:34:40 +02:00
iCrawl
6b8ef20cb3
style: cleanup tests and tsup configs
2022-06-04 15:21:57 +02:00
iCrawl
a45bef4cad
fix(proxy): add docs script
2022-06-04 13:34:57 +02:00
DD
1ba2d2a898
feat: @discordjs/proxy ( #7925 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
2022-06-04 13:26:25 +02:00
iCrawl
e518c8a137
chore: update yarn
2022-06-04 13:13:52 +02:00
iCrawl
80cd4a4a43
ci: run assigning reviewers also on drafts
2022-06-04 12:59:54 +02:00
iCrawl
8a7cd10554
fix(builders): leftover invalid null type
2022-06-04 12:59:26 +02:00
iCrawl
251862ea57
chore: deps
2022-06-04 12:58:09 +02:00
Jiralite
2f03f9ad3f
fix(GuildAuditLogs): Cache guild scheduled events ( #7951 )
2022-06-04 09:04:08 +02:00
Suneet Tipirneni
db81127886
chore: add external links for dapi-types ( #7966 )
2022-06-04 09:03:05 +02:00
Suneet Tipirneni
cdd2ba036a
feat(guildChannelManager): add videoQualityMode option for create() ( #7980 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-06-04 09:02:21 +02:00
Suneet Tipirneni
97eaab35d7
feat(rest): add guild member banner cdn url ( #7973 )
2022-06-04 09:00:39 +02:00
Suneet Tipirneni
d60c464e61
types: add types to EventEmitter static methods ( #7986 )
2022-06-04 08:58:15 +02:00
Suneet Tipirneni
643dab3b1b
refactor: clean up modal submissions ( #7994 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-06-04 08:57:19 +02:00
Azarias B
68d5169f66
feat: Export types from interactions/slashCommands/mixins ( #7942 )
2022-05-25 10:04:20 +02:00
Suneet Tipirneni
7f4d411e73
chore: reexport all dapi-types ( #7909 )
2022-05-25 10:03:51 +02:00
Jeroen Claassens
636d4f263b
chore: fix git cliff configs ( #7948 )
...
Co-authored-by: Vlad <kingdgrizzle@gmail.com >
2022-05-25 10:02:17 +02:00
Jiralite
fdeac9d9fb
types: nullify guildScheduledEventUpdate's old parameter ( #7955 )
2022-05-21 02:02:57 +02:00
Suneet Tipirneni
adf461baf4
fix: make sure action row builders create djs builders ( #7945 )
2022-05-18 21:56:56 +02:00
DD
191510b7f8
fix(TextBasedChannel#bulkDelete): return deleted message ( #7943 )
2022-05-18 19:58:39 +02:00
DD
e2f5a4a494
chore: enable noUncheckedIndexAccess ( #7931 )
2022-05-18 19:56:42 +02:00
A. Román
993eb74475
chore(deps): update discord-api-types and /voice ( #7934 )
2022-05-18 19:54:35 +02:00
DD
dfe449c253
feat: REST#raw ( #7929 )
2022-05-17 16:31:19 +02:00
Jiralite
5e9b757a37
fix: Remove trailing invites on channel deletion ( #7932 )
2022-05-16 12:13:02 +02:00
Sam
28172ca7b5
fix(DataResolver): fix check for readable streams ( #7928 )
2022-05-16 12:12:34 +02:00
Vlad Frangu
7ce641d33a
fix(SlashCommandBuilder): import Permissions correctly ( #7921 )
2022-05-14 22:47:26 +02:00
Khafra
e92b17d855
fix(REST): remove dom types ( #7922 )
2022-05-14 18:39:12 +02:00
Khafra
d1504f2ae1
fix: ok statusCode can be 200..299 ( #7919 )
2022-05-14 18:38:05 +02:00
Jiralite
b1a3aa97ea
chore: bump discord-api-types ( #7923 )
2022-05-14 18:37:01 +02:00
iCrawl
d522320aa4
chore: update v13 changelog
2022-05-13 12:11:36 +02:00
Khafra
76694c1497
feat(EnumResolvers): remove Enumresolvers ( #7876 )
2022-05-13 11:35:08 +02:00
Vlad Frangu
de3f1573f0
feat(builders): add new command permissions v2 ( #7861 )
2022-05-13 11:33:40 +02:00
Synbulat Biishev
aed687b09f
feat: move me to GuildMemberManager manager ( #7669 )
...
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
2022-05-12 22:51:28 +02:00
n1ck_pro
e07b910e68
types: make CacheType generic more accurate for return values ( #7868 )
2022-05-12 22:50:31 +02:00
Khafra
d1ec8c37ff
feat(rest): use undici ( #7747 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: ckohen <chaikohen@gmail.com >
2022-05-12 22:49:15 +02:00
Parbez
4515a1ea80
chore: bump shapeshift for faster object validation ( #7914 )
2022-05-12 12:09:50 +02:00
Vlad Frangu
c1b5e731da
fix: add localizations for subcommand builders and option choices ( #7862 )
2022-05-12 10:32:27 +02:00
Suneet Tipirneni
64bdf53116
types(guildScheduledEvent): Mark entityMetadata as nullable ( #7908 )
2022-05-12 10:30:26 +02:00
Ben
d308c66eec
docs(InteractionResponses): replace outdated Embed example for reply ( #7875 )
2022-05-12 10:29:44 +02:00
Jiralite
dfd9eb20b2
refactor(ThreadChannel): Remove MAX helper from threads ( #7846 )
2022-05-12 10:29:21 +02:00
Ryan Munro
19eaed6390
fix(AuditLog): default changes to empty array ( #7880 )
2022-05-12 10:26:07 +02:00
SpaceEEC
4ba0f56b6a
feat(VoiceChannel): add support for text in voice ( #6921 )
2022-05-02 09:39:14 +02:00
advaith
5eeef3f708
types(discord.js): export missing enums ( #7864 )
2022-05-02 09:37:46 +02:00
with-heart
679dcda970
feat(REST): enable setting default authPrefix ( #7853 )
2022-04-28 13:08:02 +02:00
newracket
df64d3ea38
fix(Util): flatten ignoring certain fields ( #7773 )
2022-04-26 00:45:52 +02:00
Jiralite
6239d83c4d
fix: possibly missing ( #7829 )
2022-04-26 00:31:21 +02:00
Khafra
0c18dab128
fix: endReason not being properly set in base Collector ( #7833 )
...
* fix: `endReason` not being properly set in base Collector
* types: add _endReason type
2022-04-26 00:31:12 +02:00
Almeida
ece628986c
types: fix return type of toString() on channels ( #7836 )
...
* types(DMChannel): `toString()` returns a `UserMention`
* test: add more tests
2022-04-26 00:31:05 +02:00
Jiralite
f4ccc6772c
docs: require parameter ( #7838 )
2022-04-26 00:30:58 +02:00
Almeida
5ba7740fcf
refactor(Activity): remove undocumented properties ( #7844 )
2022-04-26 00:30:45 +02:00
Almeida
bfeaf856f7
types(Message#activity): make partyId optional and use enum for type ( #7845 )
2022-04-26 00:30:13 +02:00
FIRE
361709332b
fix(SelectMenuBuilder): options array ( #7826 )
2022-04-22 20:50:36 +02:00
Rodry
61a44c509c
docs(ApplicationCommand): fix and improve localization docs ( #7804 )
2022-04-21 19:07:49 +02:00
Hyro
4ac91c61d0
fix(Activity): platform type ( #7805 )
2022-04-21 19:07:18 +02:00
Hyro
4972bd87c1
fix(ApplicationCommand): equal nameLocalizations and descriptionLocalizations ( #7802 )
2022-04-21 19:06:42 +02:00
Euan Caskie
a1b145e0ce
makeContent should accept empty strings ( #7764 )
2022-04-21 18:57:00 +02:00
Suneet Tipirneni
29293d7bbb
refactor: use arrays instead of rest parameters for builders ( #7759 )
2022-04-21 18:56:10 +02:00
Rodry
f22245e9d0
feat(SelectMenu): allow emojis in options and option constructors ( #7797 )
2022-04-21 18:55:51 +02:00
Suneet Tipirneni
585169f2f0
types: cleanup *Data type definitions ( #7716 )
2022-04-19 16:00:55 +02:00
Ryan Munro
ec8d87f932
feat(builders): improve embed errors and predicates ( #7795 )
...
* feat(builders): improve embed errors
* fix: use imageURLPredicates
Co-authored-by: Synbulat Biishev <arziksin@gmail.com >
Co-authored-by: Synbulat Biishev <arziksin@gmail.com >
2022-04-19 15:58:47 +02:00
n1ck_pro
440ac243ca
types: fix BooleanCache never resolving to true ( #7809 )
...
* types: fix BooleanCache never resolving to true
* fix: broke other types by accident
2022-04-19 15:57:44 +02:00
Ryan Munro
c5fb548529
fix(InteractionResponses): use optional chaining on nullable property ( #7812 )
...
* fix(InteractionResponses): use optional chaining on nullable property
* fix: one more spot
2022-04-19 15:56:45 +02:00
Almeida
a6d9ce57c6
types(CommandInteraction): add awaitModalSubmit ( #7811 )
2022-04-19 15:56:22 +02:00
Rodry
08574763eb
types(ThreadChannel): fix autoArchiveDuration types ( #7816 )
2022-04-19 15:54:54 +02:00
iCrawl
9ef7ffdc6d
ci: use proper regex escapes
2022-04-17 20:07:19 +02:00
iCrawl
9fa92ac0f9
ci: extract package and semver from tag
2022-04-17 19:55:59 +02:00
iCrawl
2c2f88cd43
ci: change logic to parse version
2022-04-17 19:08:02 +02:00
iCrawl
93defeccce
ci: move logic for replacing tag name
2022-04-17 18:49:31 +02:00
iCrawl
443533ba99
ci: fix env vars
2022-04-17 18:35:31 +02:00
iCrawl
3cc96d7940
ci: replace branch name for documentation
2022-04-17 18:31:28 +02:00
iCrawl
b94a8761f8
chore: update dev versions
2022-04-17 13:40:46 +02:00
iCrawl
9bf2a0d5cb
chore: release new versions
2022-04-17 13:32:57 +02:00
iCrawl
9917981f24
chore: update ts-docgen
2022-04-17 11:53:45 +02:00
iCrawl
ab8b946276
chore: update docgen
2022-04-17 11:45:03 +02:00
iCrawl
bcf7f1cfad
chore: deps
2022-04-17 11:27:36 +02:00
Suneet Tipirneni
a58556adc0
feat: allow createMessageComponentCollector without using fetchReply ( #7623 )
...
* feat: allow creation of message component collectors without fetchReply
* chore: attempt at requested changes
* fix: collector bug
* refactor: use better names
* feat: add update() support
* feat: add defer support
* refactor: InteractionReply -> InteractionResponse
* fix: remove log
* chore: make requested changes
* Update packages/discord.js/src/structures/InteractionResponse.js
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* chore: make requested changes
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-04-17 10:59:36 +02:00
Suneet Tipirneni
40b9a1d67d
feat: Slash command localization for builders ( #7683 )
...
* feat: add slash command localizations
* chore: make requested changes
* chore: make requested changes
* fix: prevent unnecessary spread
* chore: make requested changes
* chore: don't allow maps
2022-04-17 10:58:20 +02:00
MateoDeveloper
ab4c608b97
refactor(MessageAttachment): use Attachment instead ( #7691 )
...
* fix: TOKEN_INVALID error not thrown at login with invalid token
* refactor(MessageAttachment): Use Attachment instead
* Delete a mistake
* Add WebSocketManager file, deleted by error
* add a new line on WebSocketManager file
* fix: imports
* fix: conflict with typings
* chore: update reference on GuildStickerManager
2022-04-17 10:57:38 +02:00
Jiralite
1b2d8decb6
fix(MessageManager): Allow caching option of an unspecified limit ( #7763 )
...
* refactor: merge parameters
* refactor: remove default
2022-04-17 10:55:17 +02:00
Suneet Tipirneni
a674f64e1d
chore: reexport all builders in discord.js ( #7772 )
...
* chore: reexport all builders in discord.js
* chore: export all builder exports
* chore: use tslib
2022-04-17 10:54:14 +02:00
Jiralite
54e5629986
refactor(Util): remove splitting ( #7780 )
2022-04-17 10:52:28 +02:00
Suneet Tipirneni
75b6770933
chore(builders): simplify types ( #7784 )
...
* chore(builders): simplify types
* chore: removed uneeded partial
2022-04-17 10:51:11 +02:00
muchnameless
c2866504a3
fix(builders): add constructor default param ( #7788 )
...
* fix(builders): constructor default param
* fix: another one
* fix: and another one
2022-04-17 10:50:42 +02:00
Jiralite
f1d0084da2
docs(ApplicationCommand): Fix ApplicationCommandOptionChoice ( #7794 )
2022-04-17 10:49:37 +02:00
Suneet Tipirneni
b01f4147d4
feat: add guild directory support ( #6788 )
2022-04-14 12:49:33 +02:00
Jiralite
fc2a8bb675
feat(GuildBanManager): Support pagination results ( #7734 )
2022-04-14 12:46:51 +02:00
Jiralite
f094e33861
types: add missing typing ( #7781 )
2022-04-14 12:44:42 +02:00
Jiralite
446eb390ce
types(VoiceChannel): nullify property ( #7793 )
2022-04-14 12:43:58 +02:00
Jiralite
96a0d83a13
refactor: Tidy up builders and components ( #7711 )
2022-04-14 12:42:25 +02:00
Suneet Tipirneni
01a423d110
feat(CommandInteraction): add support for localized slash commands ( #7684 )
...
* feat(commandInteraction): add support for localized slash commands
* chore: make requested changes
* chore: add better localizations in docs
* refactor: use dapi types
* types: reexport LocalizationMap
* fix: add name localizations for option choices
* feat: add missing props and fetch options
* Update packages/discord.js/src/managers/ApplicationCommandManager.js
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* chore: fix linting issues
* fix: fetching bugs
* chore: make requested changes
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-04-12 17:20:55 +02:00
Josh Wee
f0d0242c76
feat: support sodium-native lib for voice ( #7698 )
...
* chore: add sodium-native
* feat: wrap sodium-native methods
* chore: update dep listings
* chore: update dep report
* revert: "chore: add sodium-native"
This reverts commit 6a64db85d0 .
* chore: consolidate buffer alloc
Co-authored-by: Vitor <milagre.vitor@gmail.com >
* chore: conslidate sodium.random
* chore: explicit param typing
* refactor: truthy style maintenance
Co-authored-by: Vitor <milagre.vitor@gmail.com >
2022-04-12 17:20:30 +02:00
muchnameless
b577bcc1df
types(ModalSubmitInteraction): message ( #7705 )
2022-04-12 17:20:20 +02:00
Rodry
0faac04b69
feat: allow emoji strings to be passed through constructors ( #7718 )
...
* feat: allow strings to be passed through constructors
* fix: don't overwrite emoji with raw data
2022-04-12 17:19:27 +02:00
Harry Allen
9ff54254d8
fix: clarify that packages need to be locally built ( #7720 )
2022-04-12 17:18:43 +02:00
BaumianerNiklas
fd1dc72c0a
typings(Embed): add missing getters and add video to EmbedData ( #7728 )
...
* typings(Embed): add missing author getter
* typings(Embed): add hexColor, provider, and length getters
* typings: EmbedVideoData + video fields in Embed[Data]
2022-04-12 17:18:15 +02:00
Almeida
29f8807955
feat(StageInstanceManager): add sendStartNotification option to create ( #7730 )
...
* feat(StageInstanceManager): add `sendStartNotification` option to create
* docs: update property description
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-04-12 17:17:49 +02:00
Vitor
6f4e97bfaf
types(ModalSubmitInteraction): fix components type ( #7732 )
2022-04-12 17:16:36 +02:00
Vlad Frangu
3582fe917d
chore: update the regex for command names/option names ( #7733 )
2022-04-12 17:16:08 +02:00
Jiralite
78a3afcd7f
refactor: Remove nickname parsing ( #7736 )
...
* refactor: remove nickname parsing
* types: remove nickname import
* chore: update guildmember
* refactor: keep parsing
* refactor: string from user instead
2022-04-12 17:15:38 +02:00
muchnameless
3db20abdd2
fix(MessagePayload): resolveBody check body instead of data ( #7738 )
2022-04-12 17:15:21 +02:00
muchnameless
ebb4dfa262
fix(ActionRow): toJSON should include components ( #7739 )
...
* fix(ActionRow): toJSON should include components
* Update packages/discord.js/src/structures/ActionRow.js
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com >
* types: extend component
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com >
Co-authored-by: suneettipirneni <suneettipirneni@icloud.com >
2022-04-12 17:14:57 +02:00
A. Román
8eaec114a9
feat: add makeURLSearchParams utility function ( #7744 )
2022-04-12 17:14:30 +02:00
Jiralite
8625d81714
fix: Prevent NaN for nullable timestamps ( #7750 )
...
* fix(VoiceState): don't show `NaN`
* fix(Invite): handle NaN
* refactor: `&&` usage
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Almeida <almeidx@pm.me >
2022-04-12 17:14:04 +02:00
Suneet Tipirneni
3037fca196
feat(modal): add awaitModalSubmit ( #7751 )
...
* feat(modal): add awaitModalSubmit
* fix: allow command interactions to await modal submissions
* Update packages/discord.js/src/structures/CommandInteraction.js
Co-authored-by: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com >
* chore: less is more
* Update packages/discord.js/src/structures/interfaces/InteractionResponses.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2022-04-12 17:13:46 +02:00
Suneet Tipirneni
e4f27051ca
types(interactionCollector): filter should have a collected argument ( #7753 )
2022-04-12 17:13:03 +02:00
Jiralite
25fdb3894d
fix(InteractionCreateAction): Ensure text-based channel for caching messages ( #7755 )
...
* fix: ensure text-based channel for adding messages
* fix: account for interaction-only applications
The event will emit for these types of bots. However, as the channel is not from a cached guild, they are safe from this crash.
* fix: typos
* refactor: more descriptive variable usage
2022-04-12 17:12:31 +02:00
Jiralite
a1329bd3eb
docs: Enhance /rest README ( #7757 )
...
* docs: enhance README
* chore: formatting
* docs: Fix method
Co-authored-by: Almeida <almeidx@pm.me >
* chore: remove new line
* docs: can use top-level await
* docs: fix message sending example
Co-authored-by: Almeida <almeidx@pm.me >
2022-04-12 17:11:41 +02:00
Parbez
3c0bbac82f
refactor: replace zod with shapeshift ( #7547 )
2022-04-09 11:37:16 +02:00
Synbulat Biishev
3f3e4327c8
feat(Actions): add parent structure to events parameters ( #7577 )
2022-04-09 11:35:55 +02:00
Almeida
6fec25239d
feat: export UnsafeModalBuilder and UnsafeTextInputBuilder ( #7628 )
2022-04-09 11:34:46 +02:00
Jiralite
aedddb875e
refactor: Remove store channels ( #7634 )
2022-04-09 11:34:05 +02:00
Jiralite
402514ff32
fix: pass force correctly ( #7721 )
2022-04-05 12:26:21 +02:00
Jiralite
3b3dabf3da
feat(VoiceChannel): Support video_quality_mode ( #7722 )
2022-04-05 12:26:09 +02:00
Almeida
eb6b472f72
refactor(IntegrationApplication): remove summary ( #7729 )
2022-04-05 12:25:52 +02:00
Suneet Tipirneni
f88e1ac4be
chore: make requested changes ( #7000 )
2022-04-05 12:22:56 +02:00
Jiralite
905a6a1166
fix: Support reason in setRTCRegion helpers ( #7723 )
2022-04-04 16:32:14 +02:00
Rodry
5748dbe087
types: fix regressions ( #7649 )
...
* types: fix regressions
* fix: make requested changes
* Apply suggestions from code review
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* types: action row data should take builders
* types: remove redundant overload
* fix(MessagePayload): ensure components are serialized correctly
* fix(MessagePayload): don't always create new action row
* refactor(UnsafeModalBuilder): make data public
* types: use type union
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* types: fix types and add tests
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-04-04 00:19:44 +02:00
Jeroen Claassens
ac4bc3a6c8
chore(build): disable tsup minification & add "use strict"; banner to CJS bundles ( #7725 )
...
* chore(build): disable tsup minification
* chore(build): add `"use strict";` to CJS bundles
2022-03-28 21:34:58 +02:00
Jiralite
520f471ac5
docs: add back static properties and methods ( #7706 )
2022-03-26 13:55:53 +01:00
Jiralite
6708533376
ci: Resolve invalid semver ( #7709 )
2022-03-26 13:55:42 +01:00
Skick
9afc03054e
types(Constants): add NonSystemMessageTypes ( #7678 )
2022-03-26 13:46:31 +01:00
D Trombett
74bf7d57ab
fix(GuildMemberManager): return type can be null ( #7680 )
2022-03-26 13:45:12 +01:00
Jiralite
8e3b2d7abd
types: Fix auto archive duration type ( #7688 )
...
* types: fix auto archive shenanigans
* refactor: deduplicate into utility
* types: allow `MAX` for text channels
* docs(Util): english
* fix(ThreadManager): assign on `MAX`
2022-03-26 13:43:18 +01:00
Suneet Tipirneni
8880de0cec
fix(gateway): use version 10 ( #7689 )
...
* fix: make gateway use version 10
* chore: fix readme rest versions
2022-03-26 13:42:13 +01:00
Jiralite
cedd0536ba
refactor(GuildAuditLogs): remove build ( #7704 )
2022-03-24 22:11:18 +01:00
Jiralite
85e531f22d
fix: Audit log static reference ( #7703 )
...
* fix: sort into new file
* refactor: move other stuff
* fix: errors
2022-03-24 21:00:51 +01:00
muchnameless
07b23a99c7
refactor(InteractionCollector): simplify constructor logic ( #7667 )
...
* refactor(InteractionCollector): simplify constructor logic
* fix: oversight
2022-03-24 21:00:30 +01:00
Jiralite
0c32332a5a
fix: handle possibly missing property ( #7641 )
2022-03-24 21:00:12 +01:00
Parbez
d5369a56e3
fix(util): allow escapeInlineCode to escape double backtics ( #7638 )
...
* fix(util): allow scapeInlineCode to escape double backtics
* fix: replace backtics properly
* chore: fix lint
2022-03-24 21:00:04 +01:00
Jiralite
9a6e691eaa
refactor: remove undocumented checks ( #7637 )
2022-03-24 20:59:56 +01:00
Almeida
4d2b55955d
fix(GuildEditData): some fields can be null ( #7632 )
...
* fix(GuildEditData): some fields can be null
* fix: make even more things nullable
2022-03-24 20:59:38 +01:00
MateoDeveloper
cd79bef254
fix: TOKEN_INVALID error not thrown at login with invalid token ( #7630 )
2022-03-24 20:59:30 +01:00
Almeida
c684ac55e1
fix(GuildScheduledEvent): handle missing image ( #7625 )
2022-03-24 20:59:07 +01:00
Suneet Tipirneni
fb9a9c2211
refactor: allow builders to accept emoji strings ( #7616 )
...
* refactor: allow emoji strings in button builder
* refactor: add emoji string support for select menu options
* fix: export select menu option
* chore: make requested changes
* Update packages/discord.js/typings/index.test-d.ts
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-03-24 20:58:50 +01:00
muchnameless
daf2829cb5
types(InteractionResponseFields): add webhook ( #7597 )
2022-03-24 20:58:39 +01:00
Ryan Munro
98177aa38d
fix(guild): throw if ownerId falsey ( #7575 )
2022-03-24 20:58:29 +01:00
Suneet Tipirneni
b1d63d919a
fix: Validate select menu options ( #7566 )
...
* fix: validate select menu options
* chore: make requested changes
* refactor: make requested changes
* fix: tests
2022-03-24 20:57:53 +01:00
Vlad Frangu
b520c3df3c
chore(ci): fix dev deploy workflow ( #7694 )
...
* chore(ci): fix dev deploy workflow
* chore: escape the dots too, for extra future safety
2022-03-24 02:40:13 +01:00
Suneet Tipirneni
e805777a7a
refactor: use static fields ( #7701 )
...
* refactor: use static fields
* chore: refactor missed areas
* chore: remove memberof docs
* chore: make type changes
2022-03-24 02:38:05 +01:00
Suneet Tipirneni
72577c4bfd
feat: add API v10 support ( #7477 )
...
* feat: add API v10 support
* refactor: update deps
* chore: rebase fixes
2022-03-15 21:37:07 +01:00
Ben
9b0d8cb2d8
feat(embed): remove Embed.setColor ( #7662 )
2022-03-15 21:36:20 +01:00
Synbulat Biishev
8fb98165a9
types(Embed): add forgotten footer type ( #7665 )
2022-03-15 21:30:22 +01:00
Ben
f4729759f6
refactor(EmbedBuilder): allow hex strings in setColor ( #7673 )
...
* refactor(EmbedBuilder): allow hex strings in setColor
* Apply suggestions from code review
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Almeida <almeidx@pm.me >
2022-03-15 21:29:19 +01:00
Rodry
2297c2b947
types(ColorResolvable): simplify string types ( #7643 )
2022-03-14 12:04:07 +01:00
Jiralite
87a6b8445b
fix: Remove Modal export ( #7654 )
2022-03-13 15:06:41 +01:00
Suneet Tipirneni
549716e4fc
refactor: Don't return builders from API data ( #7584 )
...
* refactor: don't return builders from API data
* Update packages/discord.js/src/structures/ActionRow.js
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
* fix: circular dependency
* fix: circular dependency pt.2
* chore: make requested changes
* chore: bump dapi-types
* chore: convert text input
* chore: convert text input
* feat: handle cases of unknown component types better
* refactor: refactor modal to builder
* feat: add #from for easy builder conversions
* refactor: make requested changes
* chore: make requested changes
* style: fix linting error
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: almeidx <almeidx@pm.me >
2022-03-12 19:39:23 +01:00
Suneet Tipirneni
230c0c4cb1
types: allow component classes in action row data ( #7614 )
...
* types: allow component classes in action row data
* types: allow components to be passed inside objects in messages
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
2022-03-12 17:58:35 +01:00
Almeida
dcd479767b
fix(SelectMenu): set placeholder max to 150 ( #7538 )
2022-03-10 09:00:39 +01:00
Suneet Tipirneni
3dff31f63f
feat(StageInstance): Add support for associated guild event ( #7576 )
2022-03-10 08:57:41 +01:00
RAIDEN
cbdb408dff
fix(Embed): fix incorrect destructuring import ( #7615 )
2022-03-10 08:55:10 +01:00
Jiralite
e787cd5fa5
docs(InteractionCollector): Document channel option type ( #7551 )
2022-03-09 16:18:18 +01:00
Rodry
b162f27e46
feat(VoiceState): add edit method ( #7569 )
...
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
2022-03-07 08:53:44 +01:00
Vlad Frangu
b9ff7b0573
fix(RequestHandler): only reset tokens for authenticated 401s ( #7508 )
2022-03-06 20:43:12 +01:00
Jiralite
c12d61a342
fix(ThreadMembersUpdate): Only emit added & removed thread members ( #7539 )
2022-03-06 20:42:33 +01:00
Rodry
e71c76c7f7
types(ActionRow): allow components to be passed to constructors ( #7531 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-03-06 16:27:44 +01:00
Parbez
851f380eb1
fix(Util): escapeInlineCode properly ( #7587 )
2022-03-06 16:27:29 +01:00
Almeida
10607dbdaf
refactor: remove obsolete builder methods ( #7590 )
2022-03-06 16:27:17 +01:00
Suneet Tipirneni
79d6c0489c
refactor(embed): allow hex strings in setColor() ( #7593 )
2022-03-06 16:26:41 +01:00
muchnameless
89073903a2
feat(ModalSubmitInteraction): add boolean properties ( #7596 )
2022-03-06 16:26:32 +01:00
Vlad Frangu
8f1986a6aa
feat: add support for module: NodeNext in TS and ESM ( #7598 )
2022-03-06 16:26:11 +01:00
Almeida
0d7e4edd96
types(showModal): align types with the documentation ( #7600 )
2022-03-06 16:25:56 +01:00
muchnameless
fac55bcfd1
refactor(InteractionResponses): use ClientOptions.jsonTransformer ( #7599 )
2022-03-06 16:25:50 +01:00
Rodry
4b08d9b376
fix(GuildStickerManager): correctly access guild ID ( #7605 )
2022-03-06 16:25:01 +01:00
IRONM00N
93854a8013
types: modals type and doc fixes ( #7608 )
2022-03-06 16:24:43 +01:00
muchnameless
cb566c8b6a
fix(MessageManager): pin route ( #7610 )
2022-03-06 16:24:03 +01:00
Suneet Tipirneni
6f7a366956
chore: bump turborepo ( #7568 )
2022-03-04 08:54:29 +01:00
Suneet Tipirneni
ed92015634
feat: Add Modals and Text Inputs ( #7023 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Ryan Munro <monbrey@gmail.com >
Co-authored-by: Vitor <milagre.vitor@gmail.com >
2022-03-04 08:53:41 +01:00
muchnameless
53defb82e3
types(InteractionResponseFields): add boolean properties ( #7565 )
2022-03-02 10:41:56 +01:00
Parbez
8478d2f4de
refactor(Embed): remove add field ( #7522 )
2022-03-02 10:37:30 +01:00
Suneet Tipirneni
2d4971b032
types: allow raw components for reply and message options ( #7573 )
2022-03-02 10:34:22 +01:00
Jiralite
c6cb5e9ebb
fix: Handle partial data for Typing#user ( #7542 )
2022-03-02 10:30:25 +01:00
Suneet Tipirneni
a8321d8026
types: fix component *Data types ( #7536 )
2022-02-26 11:17:03 +01:00
Jiralite
1a14c0ca56
docs: Completely fix builders example link ( #7543 )
2022-02-26 11:15:52 +01:00
Jiralite
44a57a1b0c
revert: chore: commit scope name in lowercase ( #7550 )
2022-02-26 11:14:32 +01:00
Suneet Tipirneni
0aa48516a4
fix: only check instanceof Component once ( #7546 )
2022-02-26 11:14:04 +01:00
Synbulat Biishev
83460037be
types: use discord-api-types Locale ( #7541 )
2022-02-26 11:13:49 +01:00
Ben
8203c5d843
fix(guild): fix typo accessing user instead of users ( #7537 )
2022-02-23 22:35:25 +01:00
Khafra
51583320d3
feat(discord.js): partial transition to undici ( #7482 )
2022-02-23 08:40:00 +01:00
Rodry
cf669301c7
types(anychannel): add PartialGroupDMChannel ( #7472 )
2022-02-23 08:39:33 +01:00
Parbez
d1d1b076be
fix(test): MessageActionRow to ActionRow ( #7523 )
2022-02-23 08:39:24 +01:00
Almeida
00728f72b3
feat(message): add reason on pin and unpin ( #7520 )
2022-02-23 08:38:50 +01:00
ckohen
4f306521d8
fix(MessagePayload): don't set reply flags to target flags ( #7514 )
2022-02-23 08:37:52 +01:00
muchnameless
6a2fa70b8e
feat: re-export AuditLogEvent enum ( #7528 )
2022-02-23 08:36:11 +01:00
Jiralite
46b53f4365
chore: Correct gateway intent on issue form ( #7532 )
2022-02-23 08:33:21 +01:00
Rodry
78aa36f9f5
fix(invite): add back channelId property ( #7501 )
2022-02-20 13:46:15 +01:00
Skick
3baa340821
fix(builders): allow negative min/max value of number/integer option ( #7484 )
2022-02-20 13:43:50 +01:00
Suneet Tipirneni
ba31203a0a
refactor: make data public in builders ( #7486 )
2022-02-20 13:43:27 +01:00
Suneet Tipirneni
8dbd34544c
fix: properly serialize undefined values ( #7497 )
2022-02-20 13:41:50 +01:00
Suneet Tipirneni
942ea1acbf
fix: allow unsafe embeds to be serialized ( #7494 )
2022-02-20 13:40:01 +01:00
Almeida
b3fa2ece40
refactor(embed): remove array support in favor of rest params ( #7498 )
2022-02-20 13:38:13 +01:00
IRONM00N
ffecf08495
docs: correctly type getters ( #7500 )
2022-02-20 13:36:46 +01:00
Vlad Frangu
3e105a0bbb
chore: disable scope-case rule for commitlint ( #7507 )
2022-02-20 13:35:20 +01:00
Rodry
b12214922c
refactor(components): default set boolean methods to true ( #7502 )
2022-02-20 13:35:00 +01:00
Jiralite
71f4fa82ed
types: Remove ApplicationCommandInteractionOptionResolver ( #7491 )
2022-02-20 13:33:45 +01:00
Suneet Tipirneni
f7257f0765
feat: add missing v13 component methods ( #7466 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-18 01:04:34 +01:00
Khafra
395a68ff49
fix: attachment types ( #7478 )
2022-02-17 17:45:42 +01:00
Suneet Tipirneni
dee27db35a
feat(options): add support for custom JSON transformers ( #7476 )
2022-02-16 18:49:24 +01:00
KonkenBonken
d32db8833e
docs: ApplicationCommandData typedef ( #7389 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-16 14:02:50 +01:00
Rodry
5cf5071061
feat!: add CategoryChannelChildManager ( #7320 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-16 14:02:12 +01:00
Suneet Tipirneni
2d4554440e
fix: use case converter for json component serialization ( #7464 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-02-16 14:01:41 +01:00
Rodry
7959a68d8e
types(embed): fix timestamp allowed types ( #7470 )
2022-02-16 08:36:56 +01:00
Almeida
d2bc9d444f
refactor: deprecate invite stage instance ( #7437 )
2022-02-16 08:35:11 +01:00
Khafra
868e2f3230
rest: prefer arrayBuffer over buffer ( #7318 )
2022-02-16 08:34:54 +01:00
IRONM00N
c1b27f8eed
fix(GuildAuditLogs): typings and consistency ( #7445 )
2022-02-15 18:47:12 +01:00
nev
9311fa7b42
fix(dataresolver): ensure fetched file is convert to a buffer ( #7457 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-02-15 18:36:21 +01:00
Almeida
6d3da226d3
refactor(guild): move premiumSubscriptionCount to AnonymousGuild ( #7451 )
2022-02-15 18:32:11 +01:00
muchnameless
a8106f7c58
fix(messagepayload): resolveFile property names ( #7458 )
2022-02-15 18:32:03 +01:00
muchnameless
32985109c3
refactor(requestmanager): use timestampfrom ( #7459 )
2022-02-15 18:31:54 +01:00
Jiralite
2d2de1d3fd
types: Remove duplicate rate limit for thread creation ( #7465 )
2022-02-15 18:31:41 +01:00
muchnameless
d1bb36256f
refactor(actions): use optional chaining ( #7460 )
2022-02-15 18:31:29 +01:00
muchnameless
36173590a7
fix(components): setX should take rest parameters ( #7461 )
2022-02-15 18:31:08 +01:00
Amitoj Singh
003439671d
feat: attachment application command option type ( #7200 )
2022-02-14 08:41:15 +01:00
Rodry
0dfdb2cf11
refactor(guildbanmanager)!: rename days option to deleteMessageDays ( #7447 )
2022-02-13 16:51:56 +01:00
Amitoj Singh
ae0f35f51d
feat(builders): add attachment command option type ( #7203 )
2022-02-13 14:02:14 +01:00
Suneet Tipirneni
0af9bc841f
fix(ci): ci error ( #7454 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-02-13 13:37:41 +01:00
Suneet Tipirneni
e8252ed3b9
refactor: make public builder props getters ( #7422 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-13 13:06:11 +01:00
Sanjay Kumar Baskaran
3ae6f3c313
docs: add slash command builders example, fixes #7338 ( #7339 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-13 12:42:01 +01:00
Vlad Frangu
6ce906a02f
typings: correct types for InteractionCollector guild and channel ( #7452 )
2022-02-13 12:40:12 +01:00
Rodry
532846b1f8
refactor!: remove redundant API defaults ( #7449 )
2022-02-13 12:29:22 +01:00
Suneet Tipirneni
94bf727cc3
refactor: allow discord.js builders to accept camelCase ( #7424 )
2022-02-13 12:27:42 +01:00
Ben
f4953647ff
refactor(builders-methods): make methods consistent ( #7395 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-02-12 19:03:13 +01:00
PlavorSeol
861f0e2134
fix(threads): require being sendable to be unarchivable ( #7406 )
2022-02-12 12:09:04 +01:00
fowlerro
81d8b54ff6
fix(guildmember): check if member has administrator permission ( #7384 )
2022-02-12 12:08:50 +01:00
CallMe AsYouFeel
fa97a31504
voice: pass joinConfig.group to getVoiceConnection ( #7442 )
2022-02-12 10:22:25 +01:00
Almeida
55b388a763
fix(guild): remove maximumPresences default value ( #7440 )
2022-02-12 10:21:48 +01:00
Ben
fbc71ef6b6
feat(scheduledevents): add image option ( #7436 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-12 10:21:28 +01:00
muchnameless
b97aedd8e1
fix(guildchannelmanager): edit always sets parent to null ( #7446 )
2022-02-12 10:21:06 +01:00
iCrawl
298b22604b
chore: bump to the correct version
2022-02-10 17:35:20 +01:00
Almeida
fe11ff5f6e
fix(guildmember): make pending nullable ( #7401 )
2022-02-09 09:18:50 +01:00
Rodry
dd751ae19d
feat: add methods to managers ( #7300 )
...
Co-authored-by: Parbez <imranbarbhuiya.fsd@gmail.com >
Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-09 09:18:37 +01:00
Milo
f59d6305cb
feat(channel): add .url getter ( #7402 )
...
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-09 09:18:30 +01:00
Suneet Tipirneni
09098240bf
refactor: remove conditional autocomplete option return types ( #7396 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-02-09 09:18:08 +01:00
Almeida
cc25455d2c
refactor: replace WSCodes, WSEvents, and InviteScopes with discord-api-types equivalent ( #7409 )
2022-02-09 09:17:45 +01:00
Almeida
3d8c77600b
types: fix GuildAuditLogsTypes keys & typos ( #7423 )
2022-02-09 09:16:52 +01:00
Jiralite
83458ff7c7
types: Remove duplicate GuildChannelOverwriteOptions interface ( #7428 )
2022-02-09 09:14:08 +01:00
Suneet Tipirneni
b936103395
fix: unsafe embed builder field normalization ( #7418 )
2022-02-07 11:52:10 +01:00
Tobias Peltzer
a921ec7dc5
fix(clientpresence): fix used opcodes ( #7415 )
2022-02-07 11:51:11 +01:00
Angga Islami
aadfbda586
fix: correctly export UnsafeSelectMenuComponent from builders ( #7421 )
2022-02-07 11:50:42 +01:00
Tobias Peltzer
538e9cef45
fix: use png as extension for defaultAvatarURL ( #7414 )
2022-02-07 11:50:09 +01:00
Parbez
f2a7a9f1b3
docs(channel): fix isDMBased docs ( #7411 )
2022-02-07 11:49:38 +01:00
n1ck_pro
2800e07e59
docs(messageattachment): fix contentType docs ( #7413 )
2022-02-07 11:49:27 +01:00
Suneet Tipirneni
d8184f94dd
refactor: Make constants enums top level and PascalCase ( #7379 )
...
Co-authored-by: Vitor <milagre.vitor@gmail.com >
Co-authored-by: almeidx <almeidx@pm.me >
2022-02-05 19:56:11 +01:00
GodderE2D
cd2f566052
chore(CONTRIBUTING.md): update to yarn instructions ( #7403 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-05 15:50:41 +01:00
Vitor
8bb3751340
docs: add supported option types for autocomplete ( #7368 )
2022-02-05 14:31:34 +01:00
ckohen
733ac82d5d
fix(rest): sublimit all requests on unhandled routes ( #7366 )
2022-02-05 14:30:55 +01:00
Almeida
a7b80b9d9b
types: use GuildFeature enum from discord-api-types ( #7397 )
2022-02-05 14:30:14 +01:00
iCrawl
5f4b44d580
chore: dev-bump all versions
2022-02-05 14:20:46 +01:00
iCrawl
c15100574b
chore: fix workflows for publishing
2022-02-05 14:17:41 +01:00
iCrawl
1c186fabeb
chore: fixup workflow
2022-02-04 22:29:49 +01:00
iCrawl
6faeddcd0d
chore: add version plugin
2022-02-04 22:25:22 +01:00
iCrawl
87ca2854c2
chore: remove swc for now
2022-02-04 22:07:55 +01:00
iCrawl
741452b9be
chore: fix publish dev workflow
2022-02-04 21:58:22 +01:00
iCrawl
37c1cb4495
chore: yarn 3 at last
2022-02-04 21:47:25 +01:00
iCrawl
cd5c7fa20e
feat: expand workflows to all packages
2022-02-04 21:23:43 +01:00
Suneet Tipirneni
6b6222bf51
feat(components): Add unsafe message component builders ( #7387 )
2022-02-04 20:29:41 +01:00
Wilson
04502ce702
fix: messageReaction.me being false when it shouldn't ( #7378 )
2022-02-03 08:30:05 +01:00
Suneet Tipirneni
51beda56f7
feat(thread): add newlyCreated to threadCreate event ( #7386 )
2022-02-02 22:11:26 +01:00
D Trombett
92a04f4d98
fix: fix some typos ( #7393 )
2022-02-02 22:10:47 +01:00
Suneet Tipirneni
0b866c9fb2
docs: add external builder docs links ( #7390 )
2022-02-02 22:10:03 +01:00
D Trombett
4abb28c0a1
fix(builders): make type optional in constructor ( #7391 )
2022-02-02 21:43:27 +01:00
D Trombett
34120bba97
chore: add keepNames tsup option ( #7385 )
2022-02-02 15:20:16 +01:00
Jiralite
088394367b
chore: Specify new root ( #7382 )
2022-02-02 10:55:14 +01:00
Suneet Tipirneni
0803665183
chore: bump turborepo ( #7369 )
2022-01-31 17:11:32 +01:00
Rodry
875c86a4ef
revert: refactor(invite): make channel a getter ( #7365 )
2022-01-31 17:10:32 +01:00
Rodry
e6a26d25b3
types: fix *BitField.Flags properties ( #7363 )
2022-01-31 17:10:20 +01:00
Rodry
388f53550c
feat(channel): add isDMBased typeguard ( #7362 )
2022-01-30 12:57:03 +01:00
Matthew1177
567db60475
feat(Interaction): add .commandType property to CommandInteraction and AutocompleteInteraction ( #7357 )
2022-01-30 12:56:38 +01:00
Suneet Tipirneni
fbb1d0328b
refactor(Bitfield): use discord-api-types enums instead ( #7313 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-01-28 19:14:20 +01:00
Suneet Tipirneni
74f627c379
chore: make @types/node-fetch a regular dependency ( #7350 )
2022-01-28 19:14:11 +01:00
Synbulat Biishev
3a5ab2c4e5
fix(messagementions): fix has method ( #7292 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2022-01-28 19:13:59 +01:00
muchnameless
00ce1c56ac
fix(guildmembermanager): use rest in edit ( #7356 )
2022-01-28 01:41:52 +01:00
Rodry
72767a1059
docs: add EnumResolvers ( #7353 )
2022-01-27 10:25:25 +01:00
Suneet Tipirneni
1a6c5ab145
chore: use performance.now for time-based unit tests ( #7354 )
2022-01-27 10:05:14 +01:00
Suneet Tipirneni
355f579771
feat(scheduledevent): add support for event cover images ( #7337 )
2022-01-26 21:47:47 +01:00
1Computer1
e4bd07b239
feat(Collection): add merging functions ( #7299 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2022-01-26 21:46:31 +01:00
Casper
e1ecc1a80a
fix(typings): mark RESTOptions as Partial in ClientOptions ( #7349 )
2022-01-26 21:45:25 +01:00
RAIDEN
11e5e5ac5b
fix(Webhook): use correct method name ( #7348 )
2022-01-26 13:42:32 +01:00
Jan
ec0fba1ed0
refactor: use @discordjs/rest ( #7298 )
...
Co-authored-by: ckohen <chaikohen@gmail.com >
2022-01-26 10:45:04 +01:00
Suneet Tipirneni
ac26d9b130
feat(cdn): add support for scheduled event image covers ( #7335 )
2022-01-26 10:24:43 +01:00
Suneet Tipirneni
2db0cdd357
fix(thread): don't assign directly to getters ( #7346 )
2022-01-26 10:24:19 +01:00
IRONM00N
9a566e8068
feat(enumResolvers): strengthen typings ( #7344 )
2022-01-26 10:24:13 +01:00
Rodry
d6b56d0080
fix: don't create new instances of builders classes ( #7343 )
2022-01-26 10:23:58 +01:00
Rodry
b6402723c3
docs(locales): update Discord API docs link ( #7266 )
2022-01-25 21:23:45 +01:00
Almeida
706db9228a
feat: allow setting message flags when sending ( #7312 )
2022-01-25 21:23:38 +01:00
IRONM00N
47633f0fd2
fix: missed enums and typings from #7290 ( #7331 )
2022-01-25 21:23:13 +01:00
ckohen
67250382f9
refactor(files): remove redundant file property names ( #7340 )
2022-01-25 15:35:04 +01:00
oof2win2
5ccdb0ab26
feat(minor): add application_id to Webhook ( #7317 )
...
Co-authored-by: Casper <53900565+Dev-CasperTheGhost@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2022-01-25 08:34:46 +01:00
Suneet Tipirneni
9a1623425a
feat(threadchannel): add createdTimestamp field ( #7306 )
...
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Almeida <almeidx@pm.me >
2022-01-25 08:34:26 +01:00
oof2win2
c05b38873b
types: fix MessageMentions channel types ( #7316 )
2022-01-25 08:34:04 +01:00
Suneet Tipirneni
31768fcd69
refactor(embed): mark properties as readonly ( #7332 )
2022-01-24 20:26:36 +01:00
Rodry
bcc5cda8a9
feat(embed): add setFields ( #7322 )
2022-01-24 20:26:23 +01:00
Antonio Román
d2d3a80c55
refactor: switch to /builders Embed ( #7067 )
2022-01-24 20:17:21 +01:00
iCrawl
2f16f879aa
chore: deps
2022-01-24 17:28:30 +01:00