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

Commit

Permalink
Merge pull request #19 from ankurp-bst/fix/import-issue
Browse files Browse the repository at this point in the history
Fix imported package not used issue
  • Loading branch information
ashishjh-bst authored Apr 11, 2022
2 parents 15a0d62 + f87ee84 commit f0a8d55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ratelimit.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package discordgo

import (
"encoding/json"
"net/http"
"strconv"
"strings"
Expand Down Expand Up @@ -251,7 +250,7 @@ func (b *Bucket) Release(headers http.Header, lockCounter int64) error {
if err != nil {
return err
}

b.reset = time.Now().Add(dur)
}

Expand Down

0 comments on commit f0a8d55

Please sign in to comment.