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
1 changed files with 3 additions and 3 deletions

View File

@ -115,9 +115,9 @@ type GuildFolder struct {
// A Relationship between the logged in user and Relationship.User
type Relationship struct {
ID string `json:"id"`
User discord.User `json:"user"`
Type RelationshipType `json:"type"`
UserID discord.Snowflake `json:"id"`
User discord.User `json:"user"`
Type RelationshipType `json:"type"`
}
type RelationshipType uint8