feat: integrate the AI assistant.
This commit is contained in:
parent
522d253410
commit
dcb251d2ad
7 changed files with 366 additions and 7 deletions
|
|
@ -140,7 +140,7 @@ func handleTranslateBtn(c tele.Context) error {
|
|||
break
|
||||
}
|
||||
|
||||
respoText := respBuilder.String() + "\n... (Writting)"
|
||||
respoText := respBuilder.String() + assistantWritingSign
|
||||
minWait = time.After(691 * time.Millisecond) // renew the timer
|
||||
if msg, err = c.Bot().Edit(msg, respoText, tele.Silent); err != nil {
|
||||
logger.Warnf("failed to edit the temporary message: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue