diff --git a/bot.go b/bot.go index 0ab7d44..2d37d32 100644 --- a/bot.go +++ b/bot.go @@ -44,8 +44,7 @@ type Bot struct { errorsHandler ErrorsHandler debugHandler DebugHandler - middlewaresMx sync.RWMutex - middlewares []Middleware + middlewares []Middleware handlersMx sync.RWMutex handlers []handler