-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
refactor(MessageOptions): move replyTo to reply#messageReference and add failIfNotExists #5298
Conversation
Nice 👍, I was just thinking that shouldn't the field name emphasize more on the |
I would suggest the name
|
My only issue with |
|
So far we've always decided to stick with the API names for options, I'd personally vote for this specific one to not become an exception. |
Hmm, I would like to stick with API names as there is clearly a lot of thought in creating these names, but that poses the problem that the library doesn't expose message_reference whatsoever. This means that Maybe this needs to wait until #5296 lands and have that name? Even then I still don't like that it has no indication of being part of message_reference. |
Replies haven't been released in a stable release yet. If you want to rename |
Yep, Souji and I talked about it in the discord, and this is going to end up being a refactor + add |
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com>
|
Please describe the changes this PR makes and why it should be merged:
Add support for new
fail_if_not_exists
parameter inmessage_reference
ref: discord/discord-api-docs#2572
This also changes the replyTo parameter to be more in line with the API
Status and versioning classification: