ba0f3 / telebot.nim

Async Telegram Bot API Client implement in @Nim-Lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newForceReply not prompting reply in version 2023.05.31

samsamros opened this issue · comments

commented

I've been using this feature since #77 without any issues.
2023.04.22 was the last version this worked for me.
I see several small changes in utils.

I compared both versions: 2023.04.22...2023.05.31

  • First, I tried reverting isSet proc.: no change
  • I reverted formatName: also no change
  • Finally, I reverted addData: and the program works.

I left isSet and formatName the same as in 2023.05.31 and only removed this in lines 232,233

  elif  content is ref:
    p.addData(name, content[])

The program works flawlessly, and is prompting a response as expected!