mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-01 03:03:48 +00:00
Gateway: Changed Relationship struct for type and name claritifcation
This commit is contained in:
parent
edb8a46ef2
commit
91e494ba51
|
@ -115,9 +115,9 @@ type GuildFolder struct {
|
||||||
|
|
||||||
// A Relationship between the logged in user and Relationship.User
|
// A Relationship between the logged in user and Relationship.User
|
||||||
type Relationship struct {
|
type Relationship struct {
|
||||||
ID string `json:"id"`
|
UserID discord.Snowflake `json:"id"`
|
||||||
User discord.User `json:"user"`
|
User discord.User `json:"user"`
|
||||||
Type RelationshipType `json:"type"`
|
Type RelationshipType `json:"type"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type RelationshipType uint8
|
type RelationshipType uint8
|
||||||
|
|
Loading…
Reference in a new issue