diff --git a/interactions.go b/interactions.go index 49e6215..06aca23 100644 --- a/interactions.go +++ b/interactions.go @@ -412,7 +412,7 @@ type InteractionResponseData struct { // VerifyInteraction implements message verification of the discord interactions api // signing algorithm, as documented here: -// https://discord.com/developers/docs/interactions/slash-commands#security-and-authorization +// https://discord.com/developers/docs/interactions/receiving-and-responding#security-and-authorization func VerifyInteraction(r *http.Request, key ed25519.PublicKey) bool { var msg bytes.Buffer diff --git a/wsapi.go b/wsapi.go index a52cd62..f2c228d 100644 --- a/wsapi.go +++ b/wsapi.go @@ -33,7 +33,7 @@ var ErrWSAlreadyOpen = errors.New("web socket already opened") var ErrWSNotFound = errors.New("no websocket connection exists") // ErrWSShardBounds is thrown when you try to use a shard ID that is -// less than the total shard count +// more than the total shard count var ErrWSShardBounds = errors.New("ShardID must be less than ShardCount") type resumePacket struct {