From 3913c5e7a82379a2841316ed362892a0f333bb9d Mon Sep 17 00:00:00 2001 From: Alter-xyz <88554920+alterxyz@users.noreply.github.com> Date: Sat, 22 Jun 2024 07:40:42 -0400 Subject: [PATCH] chore: update --- handlers/cohere.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/cohere.py b/handlers/cohere.py index 69b5fc1..5face73 100644 --- a/handlers/cohere.py +++ b/handlers/cohere.py @@ -204,8 +204,8 @@ if COHERE_API_KEY: def register(bot: TeleBot) -> None: bot.register_message_handler( - cohere_handler_direct, commands=["cohere"], pass_bot=True + cohere_handler, commands=["cohere"], pass_bot=True ) bot.register_message_handler( - cohere_handler_direct, regexp="^cohere:", pass_bot=True + cohere_handler, regexp="^cohere:", pass_bot=True )