Almeida
f27631175a
feat(ui): support embed image, thumbnail, author url, and url ( #9478 )
2023-04-30 16:56:34 +02:00
GrapeColor
ad217cc760
fix(ShardClientUtil): Fix client event names ( #9474 )
...
Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-30 10:16:44 +00:00
iCrawl
1ba7394a7d
chore: deps
2023-04-30 09:01:17 +02:00
iCrawl
51e8f02ef7
fix(ui): author and reply author spacing
2023-04-29 17:44:02 +02:00
Tetie
496c4e2884
feat(ui): support verified bots and colored authors ( #9471 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-04-29 17:26:31 +02:00
Jiralite
77191a2e7b
docs: Add new issue form for applications ( #9470 )
2023-04-28 21:47:19 +02:00
Jiralite
217e5d8100
fix(BaseClient): Prevent user agent mutation ( #9425 )
...
fix(BaseClient): prevent user agent mutation
2023-04-28 17:46:50 +00:00
Jaw0r3k
40d07fbbbd
fix(BitField): use only enum names in iterating ( #9357 )
...
* fix: use only names in iterating bitfield
* fix: not a number
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* fix: serialize
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-28 17:25:11 +00:00
anandre
1b15d31b5a
docs(AutoModerationRule): update docs ( #9464 )
...
* Update AutoModerationRule.js
Update the docs descriptions for some of the AutoModerationRule methods to make them clearer and easier to understand
* Update AutoModerationRule.js
Updated the `exemptRoles` and `exemptChannels` parameter descriptions for their respective helper methods to match the typedef `AutoModerationRuleEditOptions`.
* Update AutoModerationRule.js
Update the `mentionTotalLimit` description to match the one in the `AutoModerationTriggerMetadataOptions` typdef.
* Update packages/discord.js/src/structures/AutoModerationRule.js
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>
2023-04-28 17:19:14 +00:00
Idris
d26df5faba
types(AutoModerationActionMetadataOptions): make channel property optional ( #9460 )
...
* refactor(GuildMember): make _roles a getter and roles a normal prop
* types(AutoModerationActionMetadataOptions): make channel property optional
* fix: revert changes from another PR
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-28 17:13:27 +00:00
RanAS
36216c0e1a
docs: include StreamType enum description in new docs ( #9457 )
2023-04-27 20:29:27 +02:00
Jiralite
6212bffa30
docs: Update example usage ( #9461 )
2023-04-27 20:28:44 +02:00
Almeida
2e09cb4c1f
feat(ui): support embed fields, footer icon, and timestamp ( #9442 )
2023-04-25 19:05:14 +02:00
Michael H
1b4d34cebf
chore: Add directory to package.json ( #9456 )
...
* chore: Add directory to package.json
* fix: run fmt
* fix: undo formatting
2023-04-25 14:27:44 +00:00
iCrawl
8153ca99ee
ci: update formatting tag
2023-04-24 20:19:40 +02:00
iCrawl
43e205b840
chore: deps
2023-04-24 19:46:44 +02:00
Jiralite
c6ca5a83e7
docs(APITypes): Document role & user select menu components ( #9435 )
...
docs(APITypes): document select menu components
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-21 20:56:51 +00:00
Jiralite
5c52bb9590
docs(BaseMessageOptions): Fix embeds and components ( #9437 )
...
docs(BaseMessageOptions): fix embeds and components
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-21 20:43:17 +00:00
DD
a49ed0a2d5
refactor(proxy): rely on auth header instead ( #9422 )
...
* refactor(proxy): rely on auth header instead
* chore: typo
* chore: language
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: more language
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* chore: more language nitpicks
Co-authored-by: ckohen <chaikohen@gmail.com >
* fix: unnecessary async
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: ckohen <chaikohen@gmail.com >
2023-04-21 20:36:15 +00:00
Almeida
3e01f91bbb
feat(Attachment): voice messages ( #9392 )
...
Co-authored-by: Tetie <tjvssr@gmail.com >
2023-04-21 11:09:37 +02:00
anandre
7d341000d4
docs(InteractionResponses): showModal docs change ( #9434 )
...
* Update InteractionResponses.js
Update the parameters for the showModal method
* Update APITypes.js
Add APIModalInteractionResponseCallbackData link for docs link for showModal method
* Update InteractionResponses.js
Change the order of parameters so the ModalBuilder is listed first
* Update APITypes.js
Disable the ESline line length rule for the APITypes file
* Update InteractionResponses.js
Add ModalComponentData to the JSDoc, it was omitted before.
2023-04-21 08:17:44 +00:00
MrMythicalYT
ce287f21d1
docs: use ESM code in examples ( #9427 )
...
* docs(Partials): use import statement
* docs: update readme to ESM
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-20 06:40:15 +00:00
MrMythicalYT
d6bca9bb4d
docs: reference package names properly ( #9426 )
2023-04-20 06:25:32 +00:00
Jiralite
a2ab2b8717
feat(scripts): Sort issue labels ( #9423 )
...
feat(scripts): sort issue labels
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-19 20:09:05 +00:00
Almeida
d2d27ce734
fix: use new permission name ( #9274 )
...
* fix: use new permission name
* docs: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-19 14:32:07 +00:00
Jiralite
603446a692
chore: Bump dependencies for template package ( #9418 )
...
* chore: bump dependencies
* chore: update .yarnrc.yml
2023-04-19 05:43:46 +00:00
DD
5d1a4c27d5
feat(core): abstract gateway ( #9410 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-17 20:05:05 +00:00
iCrawl
98a76db482
docs: generate static imports for types with api-extractor
2023-04-17 19:08:01 +02:00
Tetie
7d7972d239
chore(Client): robust error checking ( #9390 )
...
* chore: robust error checking
* fix: check for null
* chore: add period
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: check for undefined correctly
* chore: robust error checking
* fix: check for null
* chore: add period
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: check for undefined correctly
* fix: check for null
* fix: update typings
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-04-17 15:05:32 +00:00
iCrawl
09a9fb57e0
chore(core): release @discordjs/core@0.5.2
2023-04-16 23:02:41 +02:00
iCrawl
025b7aea29
chore(core): release @discordjs/core@0.5.1
2023-04-16 22:58:25 +02:00
iCrawl
7aa5ea731f
chore(ws): release @discordjs/ws@0.8.1
2023-04-16 22:54:15 +02:00
Aura Román
0a1701b046
types(ChannelsAPI): use correct type for editMessage ( #9399 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-16 18:27:16 +00:00
Jiralite
29389e39f4
feat(BaseInteraction): Support new channel payload ( #9337 )
...
* feat(BaseInteraction): support new channel payload
* refactor(InteractionCreate): different approach
Co-Authored-By: Synbulat Biishev <contact@syjalo.dev >
---------
Co-authored-by: Synbulat Biishev <contact@syjalo.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-16 14:28:32 +00:00
iCrawl
1b74c774c0
fix(website): cutoff ring outline in breadcrumbs
2023-04-16 11:22:16 +02:00
iCrawl
412e4fffae
build(website): prepare for turbopack
2023-04-15 18:15:24 +02:00
iCrawl
c87e826087
style(website): remove dynamic width check
2023-04-15 04:43:23 +02:00
Ben
2dddbe1f32
feat(RoleTagData): add guildConnections ( #9366 )
...
* feat(roleTagData): add guildConnections
* feat(roletagdata): add guildConnections
* 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: space <spaceeec@yahoo.com >
2023-04-14 22:04:57 +00:00
Almeida
86e5f5a119
docs(Options): fix links and invalid syntax ( #9322 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 21:49:51 +00:00
BoogeyMan
300059cb26
docs: cleanup MessageCreateOptions and MessageReplyOptions ( #9283 )
...
* Fixed MessageReplyOptions
* updated MessageReplyOptions
* Deduplication - created BaseMessageCreateOptions
* Update packages/discord.js/src/structures/interfaces/TextBasedChannel.js
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
* Fixed spacing
---------
Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 21:46:15 +00:00
Erwan
d4c1fecbe2
fix(Message#editable): fix permissions check in locked threads ( #9319 )
...
fix(Message#editable): fix permissions check if channel is thread & locked
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 21:42:54 +00:00
Jiralite
79bcdfa767
docs(Events): Document auto moderation events ( #9342 )
...
docs(Events): document auto moderation events
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 21:39:35 +00:00
Jiralite
ca4de2d9c6
fix(BaseSelectMenuBuilder): Modify class to be abstract ( #9358 )
...
fix(BaseSelectMenuBuilder): abstraction
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 21:34:55 +00:00
Jiralite
794abe8450
refactor: Remove fromInteraction in internal channel creation ( #9335 )
...
refactor: remove `fromInteraction`
2023-04-14 21:29:27 +00:00
DD
02dfaf1aa2
refactor: abstract identify throttling and correct max_concurrency handling ( #9375 )
...
* refactor: properly support max_concurrency ratelimit keys
* fix: properly block for same key
* chore: export session state
* chore: throttler no longer requires manager
* refactor: abstract throttlers
* chore: proper member order
* chore: remove leftover debug log
* chore: use @link tag in doc comment
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: suggested changes
* fix(WebSocketShard): cancel identify if the shard closed in the meantime
* refactor(throttlers): support abort signals
* fix: memory leak
* chore: remove leftover
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-14 20:26:37 +00:00
Almeida
66dc4014fe
fix(interactions): make data parameter optional ( #9379 )
2023-04-13 22:01:08 +02:00
iCrawl
0340622f1a
fix(ui): discord components
2023-04-13 20:15:59 +02:00
iCrawl
f36878677c
chore: add chromatic
2023-04-13 19:41:23 +02:00
iCrawl
e5859b41cf
chore: storybook
2023-04-13 19:09:56 +02:00
Jiralite
8218ffc78d
types(CategoryChannel): Ensure parent and parentId are null ( #9327 )
...
types: ensure categories' parents are `null`
2023-04-13 16:10:53 +00:00