Explorar o código

Fix EndpointInvite (#892)

courtier %!s(int64=3) %!d(string=hai) anos
pai
achega
30251cf325
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      endpoints.go

+ 1 - 1
endpoints.go

@@ -171,7 +171,7 @@ var (
 
 	EndpointGuildCreate = EndpointAPI + "guilds"
 
-	EndpointInvite = func(iID string) string { return EndpointAPI + "invite/" + iID }
+	EndpointInvite = func(iID string) string { return EndpointAPI + "invites/" + iID }
 
 	EndpointIntegrationsJoin = func(iID string) string { return EndpointAPI + "integrations/" + iID + "/join" }