1
0
Fork 0
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:
diamondburned 2020-07-11 13:25:29 -07:00
parent edb8a46ef2
commit 91e494ba51

View file

@ -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