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
Add Guild Scheduled Event Support #1032
Conversation
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.
You'll also have to update your entire branch with the current state of master. @FedorLap2006 any additional things I didn't catch?
@QPixel Ready to review & launch 🎉 |
I'll give it a look later this day |
Hi @FedorLap2006 , any news ? |
Making a review currently. Also please note conflicts. |
Amazing conflicts spawn before each review, I'm dead ! |
Done again ! |
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.
Thank you for the contribution!
Overall PR looks good. Except some moments.
There is an obvious problem with tests. They cover a really small portion of endpoints behaviour (e.g. Update
is untested with some parameters being set, unset).
I would recommend also making an example, because this looks like a fairly complex topic for a beginner, and it would give you ability to catch more errors and mistakes in the process.
Please also note my comments.
@FedorLap2006 I switch to two separated structs and add an example in bonus ! |
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.
Overall looks good to me, but has a couple of issues.
Also, please note the conflicts. |
…overflow on marshall same type
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
@FedorLap2006 all tests run with success |
Alright. Yea, everything should be fine, but I still don't completely get why |
Actually with or without
Yes it is, but formulated differently: Up the coverage to 100% on this test that will always return |
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Sorry that the review took long, found some additional grammar mistakes. |
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
Dont worry, it is appreciated, english is not my natal language, I try to learn it :) |
Oh good, I don't need to do that myself. |
I think everything looks good. Thanks for your contribution! |
Thanks for your time ! I will push more soon 😀 A follow is appreciate ❤️ |
Discord just released a new feature: Guild Scheduled Event
Today I will start to add all endpoints listed in the API Reference (https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event)
Following this issue : #1031