Commit 9ff0482
feat: support user guilds (#10962)
* feat: support user guilds
* chore: add cdn test
* chore: suggested changes
* refactor: move to user primary guild to its own class
* docs: update description of `badgeHash` parameter
* chore: export UserPrimaryGuild
* refactor: revert to no `UserPrimaryGuild`
* fix: use key in data
* fix: both `in` and is truthy check
* docs: remove `-`
Co-authored-by: Jiralite <[email protected]>
---------
Co-authored-by: Jiralite <[email protected]>1 parent d03cacb commit 9ff0482
File tree
4 files changed
+95
-20
lines changed- packages
- discord.js
- src/structures
- typings
- rest
- __tests__
- src/lib
4 files changed
+95
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | | - | |
| 157 | + | |
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
| |||
176 | 180 | | |
177 | 181 | | |
178 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
179 | 211 | | |
180 | 212 | | |
181 | 213 | | |
| |||
271 | 303 | | |
272 | 304 | | |
273 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
274 | 318 | | |
275 | 319 | | |
276 | 320 | | |
| |||
367 | 411 | | |
368 | 412 | | |
369 | 413 | | |
370 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
371 | 419 | | |
372 | 420 | | |
373 | 421 | | |
| |||
398 | 446 | | |
399 | 447 | | |
400 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
401 | 455 | | |
402 | 456 | | |
403 | 457 | | |
| |||
437 | 491 | | |
438 | 492 | | |
439 | 493 | | |
| 494 | + | |
440 | 495 | | |
441 | 496 | | |
442 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | | - | |
37 | | - | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
3510 | 3507 | | |
3511 | 3508 | | |
3512 | 3509 | | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
3513 | 3521 | | |
3514 | 3522 | | |
3515 | 3523 | | |
3516 | 3524 | | |
3517 | 3525 | | |
3518 | 3526 | | |
3519 | 3527 | | |
3520 | | - | |
3521 | | - | |
3522 | | - | |
3523 | | - | |
3524 | 3528 | | |
3525 | 3529 | | |
3526 | 3530 | | |
| |||
3553 | 3557 | | |
3554 | 3558 | | |
3555 | 3559 | | |
| 3560 | + | |
3556 | 3561 | | |
3557 | 3562 | | |
3558 | 3563 | | |
3559 | 3564 | | |
3560 | 3565 | | |
3561 | 3566 | | |
| 3567 | + | |
3562 | 3568 | | |
3563 | 3569 | | |
3564 | 3570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | | - | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
343 | 354 | | |
344 | 355 | | |
345 | 356 | | |
| |||
0 commit comments