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

Commit f1eac30

Browse files
authored
Merge branch 'yagpdb' into apiv9
2 parents 5b1c3ff + b76329c commit f1eac30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ratelimit.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package discordgo
22

33
import (
4+
"encoding/json"
45
"net/http"
56
"strconv"
67
"strings"
@@ -250,7 +251,7 @@ func (b *Bucket) Release(headers http.Header, lockCounter int64) error {
250251
if err != nil {
251252
return err
252253
}
253-
254+
254255
b.reset = time.Now().Add(dur)
255256
}
256257

0 commit comments

Comments
 (0)