diff --git a/auth.go b/auth.go index f7e6858..1131a0e 100644 --- a/auth.go +++ b/auth.go @@ -13,7 +13,7 @@ import ( func reqPass(w http.ResponseWriter, r *http.Request) { username := r.FormValue("UserName") var userID string - g, err := dg.State.Guild(config.GuildID) + g, err := dg.Guild(config.GuildID) if err == nil { for _, m := range g.Members { if m.User.Username == "johndoe" {