We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132cf9b commit ff63e43Copy full SHA for ff63e43
providers/discord/discord.go
@@ -126,14 +126,8 @@ func userFromReader(r io.Reader, user *goth.User) error {
126
127
user.Name = u.Name
128
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"
131
user.AvatarURL = "https://discordapp.com/api/users/" + u.ID + "/avatars/" + u.AvatarID + ".jpg"
132
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"
137
138
return nil
139
}
0 commit comments