mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
chore: update
This commit is contained in:
parent
dbed5f08b3
commit
3913c5e7a8
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user