Skip to content
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(CommandInteraction): ephemeral followup messages #5618

Merged
merged 5 commits into from May 14, 2021

Conversation

monbrey
Copy link
Member

@monbrey monbrey commented May 13, 2021

This adds a new method CommandInteraction#followUp for sending ephemeral followup messages (if the option is provided).

This would not be possible via CommandInteraction#webhook#send as regular Webhook messages cannot be ephemeral. The methods should otherwise be equivalent for non-ephemeral messages.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR changes the library's interface (methods or parameters added)

src/structures/CommandInteraction.js Outdated Show resolved Hide resolved
src/structures/CommandInteraction.js Outdated Show resolved Hide resolved
typings/index.d.ts Outdated Show resolved Hide resolved
typings/index.d.ts Outdated Show resolved Hide resolved
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
@kyranet kyranet requested review from SpaceEEC and iCrawl May 13, 2021 20:06
@iCrawl iCrawl merged commit 68b40dd into discordjs:master May 14, 2021
@monbrey monbrey deleted the followup branch May 14, 2021 23:12
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants