Skip to content

Commit

Permalink
remove stupid log output
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Nov 17, 2021
1 parent e6b2af5 commit 92670d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middlewares/ratelimit/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func (m *Middleware) Before(ctx *ken.Ctx) (next bool, err error) {
}

limiter := m.manager.GetLimiter(ctx.Command, ctx.User().ID, guildID)
fmt.Println(ctx.Command, ctx.User().ID, guildID)
if ok, next := limiter.Take(); !ok {
err := ctx.RespondError(fmt.Sprintf(
"You are being ratelimited.\nWait %s until you can use this command again.",
Expand Down

0 comments on commit 92670d1

Please sign in to comment.