|
|
|
@ -23,7 +23,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
@@ -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) |
|
|
|
|
} |
|
|
|
|