From 6e04bf0468c3a73f35d5d3c28f9410b3b32daeb9 Mon Sep 17 00:00:00 2001 From: Cristoph Berane Date: Fri, 24 Sep 2021 08:44:04 +0200 Subject: [PATCH] fixed typo --- releases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases.md b/releases.md index 0242e85..1706fc0 100644 --- a/releases.md +++ b/releases.md @@ -44,7 +44,7 @@ public function testUserGreeting() For more information on testing, check out the testing documentation. ## Middleware -The concept of middleware has drastically improved with BotMan 2.0. Where 1.5 was very limited in the available entry points of your webhooks, 2.0 gives you the flexibility you need to extend the lifecircle of your chatbot application. +The concept of middleware has drastically improved with BotMan 2.0. Where 1.5 was very limited in the available entry points of your webhooks, 2.0 gives you the flexibility you need to extend the lifecycle of your chatbot application. This also means, that you can now limit where in your chatbot you want to add middlewares. The available entry points are: `sending`, `received`, `heard`. @@ -79,4 +79,4 @@ $botman->exception(Exception::class, function($exception, $bot) { }); ``` -For more information on exception, check out the exception documentation. \ No newline at end of file +For more information on exception, check out the exception documentation.