chore: update

This commit is contained in:
Alter-xyz 2024-06-22 07:40:42 -04:00
parent dbed5f08b3
commit 3913c5e7a8

View File

@ -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
)