|
|
|
@ -19,7 +19,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
@@ -19,7 +19,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
if &dg == nil { |
|
|
|
|
log.LogError("Discord session was nill.") |
|
|
|
|
} |
|
|
|
|
g, err := dg.GuildMembers(config.GuildID, "", "") |
|
|
|
|
g, err := dg.GuildMembers(config.GuildID, "", 0) |
|
|
|
|
log.LogInfo("reqPass guild is %+v.", config.GuildID) |
|
|
|
|
if err == nil { |
|
|
|
|
for _, m := range g { |
|
|
|
|