disnake
disnake copied to clipboard
feat(Webhook)!: New classes PartialWebhook & PartialSyncWebhook
Summary
- Closes GH-622
Extras:
-
webhook/async_.py#L964-L971moved__repr__andurlfromWebhookandSyncWebhooktoBaseWebhookto reduce code redundancy. -
webhook/sync.py#L644-L645document whenSyncWebhook.from_url()could raise aTypeError.
Checklist
- [x] If code changes were made, then they have been tested
- [x] I have updated the documentation to reflect the changes
- [x] I have formatted the code properly by running
task lint - [x] I have type-checked the code by running
task pyright
- [ ] This PR fixes an issue
- [x] This PR adds something new (e.g. new method or parameters)
- [x] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [ ] This PR is not a code change (e.g. documentation, README, ...)
@Snipy7374 would you please resolve conflicts?
@Snipy7374 would you please resolve conflicts?
Oke