|
|
|
@ -16,6 +16,9 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
@@ -16,6 +16,9 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
username := r.URL.Query()["UserName"][0] |
|
|
|
|
log.LogInfo("reqPass username is %+v.", username) |
|
|
|
|
var userID string |
|
|
|
|
if &dg == nil { |
|
|
|
|
log.LogError("Discord session was nill.") |
|
|
|
|
} |
|
|
|
|
g, err := dg.Guild(config.GuildID) |
|
|
|
|
log.LogInfo("reqPass guild is %+v.", config.GuildID) |
|
|
|
|
if err == nil { |
|
|
|
|