-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: attachment application command option type #7200
feat: attachment application command option type #7200
Conversation
packages/discord.js/src/structures/CommandInteractionOptionResolver.js
Outdated
Show resolved
Hide resolved
This needs a rebase. |
👍 |
packages/discord.js/src/structures/CommandInteractionOptionResolver.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The typings need to be updated to conform with #7290
Both upstream PRs were merged 🍫 |
All waiting PR are merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The typings file has lots of unrelated style changes
833ee0e
to
5828657
Compare
Please describe the changes this PR makes and why it should be merged:
Adds the new
ATTACHMENT
command option type and also adds patching forfilename
inMessageAttachment#_patch
getAttachment
insrc/structures/CommandInteractionOptionResolver
attachments
toBaseCommandInteraction#transformResolved
attachment
toBaseCommandInteraction#transformOption
typings/enums.d.ts
typings/index.d.ts
Status and versioning classification:
This PR relies on This PR relies on discordjs/discord-api-types#272 and discord/discord-api-docs#4253