Commit fd2ad69
authored
fix(model): add VanityUrl uses (#2257)
The VanityUrl model used for the response from
[/guilds/{guild.id}/vanity-url](https://discord.com/developers/docs/resources/guild#get-guild-vanity-url)
is missing the `uses` field.
Despite what the aforementioned docs say, the code will not be null if
the vanity url is not set, instead, you get a `403` response, so I did
not make any additional changes beyond adding the uses field.1 parent 5868426 commit fd2ad69
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
0 commit comments