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