Commit 71cda2d
feat!: Add a guild id property for the member object (#1025)
* feat!: Add a guild id property for the member object
* Update interactions/api/models/member.py
Co-authored-by: Max <maxyolo01.ytb@gmail.com>
* ci: correct from checks.
* ref: use self._extras
* ci: correct from checks.
* ref: raise an exception when not present
* ci: correct from checks.
* Update gw.py
* Update member.py
* feat: ensure a guild_id in _extras whenever possible
Co-authored-by: Max <maxyolo01.ytb@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent fafce55 commit 71cda2d
File tree
7 files changed
+165
-341
lines changed- interactions
- api
- http
- models
- client
- models
7 files changed
+165
-341
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
364 | 369 | | |
365 | 370 | | |
366 | 371 | | |
| |||
578 | 583 | | |
579 | 584 | | |
580 | 585 | | |
581 | | - | |
| 586 | + | |
582 | 587 | | |
583 | 588 | | |
584 | 589 | | |
| |||
1098 | 1103 | | |
1099 | 1104 | | |
1100 | 1105 | | |
1101 | | - | |
| 1106 | + | |
1102 | 1107 | | |
1103 | 1108 | | |
1104 | 1109 | | |
| |||
2038 | 2043 | | |
2039 | 2044 | | |
2040 | 2045 | | |
2041 | | - | |
| 2046 | + | |
2042 | 2047 | | |
2043 | 2048 | | |
2044 | 2049 | | |
| |||
2062 | 2067 | | |
2063 | 2068 | | |
2064 | 2069 | | |
2065 | | - | |
| 2070 | + | |
2066 | 2071 | | |
2067 | 2072 | | |
2068 | 2073 | | |
| |||
2089 | 2094 | | |
2090 | 2095 | | |
2091 | 2096 | | |
2092 | | - | |
| 2097 | + | |
2093 | 2098 | | |
2094 | 2099 | | |
2095 | 2100 | | |
| |||
0 commit comments