Merge pull request #146 from iopred/patch-3
Support the new bot field on User.
This commit is contained in:
commit
20e9ea5934
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ type User struct {
|
||||||
Avatar string `json:"Avatar"`
|
Avatar string `json:"Avatar"`
|
||||||
Verified bool `json:"verified"`
|
Verified bool `json:"verified"`
|
||||||
Discriminator string `json:"discriminator"`
|
Discriminator string `json:"discriminator"`
|
||||||
|
Bot bool `json:"bot"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// A Settings stores data for a specific users Discord client settings.
|
// A Settings stores data for a specific users Discord client settings.
|
||||||
|
|
Loading…
Reference in a new issue