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

Commit

Permalink
Fix imported package not used issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurp-bst committed Apr 11, 2022
1 parent 15a0d62 commit f87ee84
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 f87ee84

Please sign in to comment.