Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit ea782f6

Browse files
author
jonas747
committed
fix a couple endpoints
1 parent 93c67aa commit ea782f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

endpoints.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ var (
107107
EndpointChannelMessages = func(cID int64) string { return EndpointChannels + StrID(cID) + "/messages" }
108108
EndpointChannelMessage = func(cID, mID int64) string { return EndpointChannels + StrID(cID) + "/messages/" + StrID(mID) }
109109
EndpointChannelMessageAck = func(cID, mID int64) string { return EndpointChannels + StrID(cID) + "/messages/" + StrID(mID) + "/ack" }
110-
EndpointChannelMessagesBulkDelete = func(cID int64) string { return EndpointChannel(cID) + "/messages/bulk_delete" }
110+
EndpointChannelMessagesBulkDelete = func(cID int64) string { return EndpointChannel(cID) + "/messages/bulk-delete" }
111111
EndpointChannelMessagesPins = func(cID int64) string { return EndpointChannel(cID) + "/pins" }
112112
EndpointChannelMessagePin = func(cID, mID int64) string { return EndpointChannel(cID) + "/pins/" + StrID(mID) }
113113

@@ -138,7 +138,7 @@ var (
138138

139139
EndpointGuildCreate = EndpointAPI + "guilds"
140140

141-
EndpointInvite = func(iID string) string { return EndpointAPI + "invite/" + iID }
141+
EndpointInvite = func(iID string) string { return EndpointAPI + "invites/" + iID }
142142

143143
EndpointIntegrationsJoin = func(iID string) string { return EndpointAPI + "integrations/" + iID + "/join" }
144144

@@ -309,7 +309,7 @@ func CreateEndpoints(base string) {
309309

310310
EndpointGuildCreate = EndpointAPI + "guilds"
311311

312-
EndpointInvite = func(iID string) string { return EndpointAPI + "invite/" + iID }
312+
EndpointInvite = func(iID string) string { return EndpointAPI + "invites/" + iID }
313313

314314
EndpointIntegrationsJoin = func(iID string) string { return EndpointAPI + "integrations/" + iID + "/join" }
315315

0 commit comments

Comments
 (0)