diff --git a/docs/usage/handlers.mdx b/docs/usage/handlers.mdx index 80c1adab..7989dd5a 100644 --- a/docs/usage/handlers.mdx +++ b/docs/usage/handlers.mdx @@ -884,11 +884,11 @@ $bot->group(function () use (Nutgram $bot) { ## Custom parameters binding -You can also bind custom parameters to the handler using the `bindParamer` method: +You can also bind custom parameters to the handler using the `bindParameter` method: ```php $bot = new Nutgram($_ENV['TOKEN']); -$bot->bindParamer('hex', function(Container $container, string $value){ +$bot->bindParameter('hex', function(Container $container, string $value){ return Color::fromHex($value); }); @@ -1409,4 +1409,4 @@ If you need to persist data on disk, be sure to choose an appropriate cache adap   deleteUserData($key, ?int $userId = null)
Returns bool - \ No newline at end of file +