Almeida
|
cbafd479b3
|
feat(ForumChannel): add defaultForumLayout (#8895)
* feat(ForumChannel): add `defaultForumLayout`
* fix: lockfile
|
2022-12-16 13:27:11 +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 |
|
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 |
|
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 |
|
iCrawl
|
52f56d3c2e
|
chore: deps
|
2022-12-01 21:01:19 +01: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
advaith
|
6e348ffd1d
|
docs(MessageReplyOptions): remove duplicate stickers field (#8766)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
|
2022-10-31 11:39:27 +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 |
|
iCrawl
|
3cc50b9e95
|
chore: deps
|
2022-10-20 03:11:41 +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 |
|
Jiralite
|
66097e0cb0
|
chore: Bump discord-api-types (#8752)
|
2022-10-14 23:20:26 +02:00 |
|
Almeida
|
cb3826ce6d
|
refactor(Embed): use embedLength function from builders (#8735)
|
2022-10-12 11:39:28 +02:00 |
|
iCrawl
|
e8f63617a2
|
chore: deps
|
2022-10-11 16:01:45 +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
|
698983b203
|
chore: deps
|
2022-10-11 04:09:02 +02:00 |
|
iCrawl
|
c5d5840fef
|
chore(discord.js): release discord.js@14.6.0
|
2022-10-10 19:20:16 +02:00 |
|
MrMythicalYT
|
ac83ada306
|
types: fix events augmentation (#8681)
|
2022-10-10 19:14:49 +02:00 |
|