mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 08:37:09 +08:00
correct the parameter passed to bot_reply_first in yi_handler
This commit is contained in:
parent
82972d1cbd
commit
851af94994
@ -45,7 +45,7 @@ def yi_handler(message: Message, bot: TeleBot) -> None:
|
|||||||
|
|
||||||
who = "Yi"
|
who = "Yi"
|
||||||
# show something, make it more responsible
|
# show something, make it more responsible
|
||||||
reply_id = bot_reply_first(message, {who}, bot)
|
reply_id = bot_reply_first(message, who, bot)
|
||||||
|
|
||||||
player_message.append({"role": "user", "content": m})
|
player_message.append({"role": "user", "content": m})
|
||||||
# keep the last 5, every has two ask and answer.
|
# keep the last 5, every has two ask and answer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user