-
-
Notifications
You must be signed in to change notification settings - Fork 4k
feat!: Rename interaction methods #8832
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #8832 +/- ##
==========================================
+ Coverage 85.22% 85.61% +0.38%
==========================================
Files 77 96 +19
Lines 6715 9459 +2744
Branches 877 1134 +257
==========================================
+ Hits 5723 8098 +2375
- Misses 953 1319 +366
- Partials 39 42 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
now that we have |
Please describe the changes this PR makes and why it should be merged:
This PR renames some interaction methods to not be confused.
.reply()
.deferReply()
.fetchReply()
->.fetchResponse()
.update()
or.deferUpdate()
and then.fetchReply()
, we will get the target message.editReply()
->.editResponse()
.fetchReply()
.deleteReply()
->.deleteResponse()
.fetchReply()
.followUp()
.update()
->.updateMessage()
interaction.update()
), not the target message.deferUpdate()
->.deferMessageUpdate()
.update()
Examples:
Before
After
Status and versioning classification: