Skip to content

Commit

Permalink
middleware: rename Respond to AutoRespond
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Jul 30, 2021
1 parent 79ace6b commit 0c6b451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/respond.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package middleware

import tele "gopkg.in/tucnak/telebot.v3"

func Respond() tele.MiddlewareFunc {
func AutoRespond() tele.MiddlewareFunc {
return func(next tele.HandlerFunc) tele.HandlerFunc {
return func(c tele.Context) error {
if c.Callback() != nil {
Expand Down

0 comments on commit 0c6b451

Please sign in to comment.