This commit is contained in:
2020-12-30 11:46:47 -05:00
parent c36cd98623
commit 19d9eaae2d

View File

@ -23,7 +23,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
log.LogInfo("reqPass guild is %+v.", config.GuildID)
if err == nil {
for _, m := range g.Members {
if strings.ToUpper(m.User.Username) == strings.ToUpper(username) {
if strings.ToUpper(m.Nick) == strings.ToUpper(username) {
userID = m.User.ID
log.LogInfo("User ID found for %+v as %+v", username, userID)
}