muety / telegram-expense-bot

A bot that helps you manage and track your daily expenses.
59 stars 16 forks source link

'/list #category' not working #35

Closed T-rex2017 closed 1 year ago

T-rex2017 commented 1 year ago

/list #category current_month not working as expected It just says something went wrong /list works /list #category other_months works

muety commented 1 year ago

The correct order is /list June #category.

/list #category June instead doesn't return any result for me, not even a "Something went wrong" error.

T-rex2017 commented 1 year ago

Sorry for that mistakes , but still /list current_month #category returns 'something went wrong ' But /list other_months #category works

T-rex2017 commented 1 year ago

Here is a screenshot from tg IMG_20230625_160647

muety commented 1 year ago

I think I found the issue. Telegram tries to interpret messages as Markdown with the current config. That is, if your description text contains Markdown delimiter (e.g. ** or _) without a corresponding second "ending" delimiter, Telegram fails to parse that text.

I'll simply disable Markdown support, as this was not intended anyways. I'll push a fix soon.

muety commented 1 year ago

Thanks for bringing this up :+1:

T-rex2017 commented 1 year ago

Thanks alot for your work