Commit d9cd5b6
refactor: reorganize http endpoints (#602)
* fix!: fix EmbedImageStruct serialization
* fix!: Button emoji serialization
* fix!: message serialization in context
* refactor: refactor return typehints and payload naming to be consistent
* refactor: change naming of arguments
* refactor: http to folder
* Delete http.py
* http still deleted :P
* refactor: move HTTP into folder
* refactor: correct namings and imports
* refactor: add __init__, fix imports in other files
* refactor: move Guild endpoint into file; add slots
* refactor: move Member endpoint into file
* refactor: move Channel endpoint into file
* refactor: move Channel endpoint into file
* refactor: move Thread endpoint into file
* refactor: move Reaction endpoint into file
* refactor: move Sticker endpoint into file
* refactor: move interaction endpoint into file
* refactor: move webhook endpoint into file
* refactor: move emoji endpoint into file
* refactor: move emoji endpoint into file
* refactor: requested changes
* refactor: reflect breaking changes to all files
* refactor: add new HTTPClient
* docs:
* docs: fix
* refactor: rename file
* refactor: rename file
* refactor: subclassing
* refactor: remove leftover slots
* Update docs/api.http.rst
Co-authored-by: fl0w <41456914+goverfl0w@users.noreply.github.com>
* Update api.http.rst
* Rename http.pyi to client.pyi
* Rename http.py to client.py
* Update gateway.py
* Update gateway.pyi
* Update channel.pyi
* Update guild.pyi
* Update member.pyi
* Update message.pyi
* Update role.pyi
* Update client.py
* Update client.pyi
* Update context.pyi
* Update __init__.py
* ci: correct from checks.
Co-authored-by: fl0w <41456914+goverfl0w@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent c297139 commit d9cd5b6
File tree
50 files changed
+3751
-2782
lines changed- docs
- interactions
- api
- http
- models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
50 files changed
+3751
-2782
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
7 | 67 | | |
8 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments