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

Commit f0a8d55

Browse files
authored
Merge pull request #19 from ankurp-bst/fix/import-issue
Fix imported package not used issue
2 parents 15a0d62 + f87ee84 commit f0a8d55

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ratelimit.go

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

33
import (
4-
"encoding/json"
54
"net/http"
65
"strconv"
76
"strings"
@@ -251,7 +250,7 @@ func (b *Bucket) Release(headers http.Header, lockCounter int64) error {
251250
if err != nil {
252251
return err
253252
}
254-
253+
255254
b.reset = time.Now().Add(dur)
256255
}
257256

0 commit comments

Comments
 (0)