Skip to content

Commit ff63e43

Browse files
committed
Removed commented out code.
Remove unneeded fields.
1 parent 132cf9b commit ff63e43

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

providers/discord/discord.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,8 @@ func userFromReader(r io.Reader, user *goth.User) error {
126126

127127
user.Name = u.Name
128128
user.Email = u.Email
129-
user.NickName = "No nickname is provided by the Discord API"
130-
user.Location = "No location is provided by the Discord API"
131129
user.AvatarURL = "https://discordapp.com/api/users/" + u.ID + "/avatars/" + u.AvatarID + ".jpg"
132130
user.UserID = u.ID
133-
// user.Discriminator = u.Discriminator
134-
// user.MFAEnabled = u.MFAEnabled
135-
// user.Verified = u.Verified
136-
user.Description = "No description is provided by the Discord API"
137131

138132
return nil
139133
}

0 commit comments

Comments
 (0)