lnp2pBot / bot

Peer-to-peer lightning network telegram bot
MIT License
205 stars 103 forks source link

The disputes for the users are not showing up when the solver receives the message from the bot, it's happen when the solver has another language distinct to spanish #590

Open danfercf1 opened 1 month ago

danfercf1 commented 1 month ago

Describe the bug The disputes amount is not showing up when the solver receives the message to resolve a dispute between two users. This happens when the solver uses another language distinct to spanish.

To Reproduce Steps to reproduce the behavior:

  1. Set another language using the bot command /setlang.
  2. You need to be a solver in order to resolve a dispute and receive the message from the bot.
  3. Wait for resolve a dispute. When a dispute is showed up, you as a solver try to resolve it. After that you will receive a message from the bot.
  4. See that the amount of the disputes is missing.

Expected behavior The amount of disputes needs to be showed up for both users.

Screenshots

issue-disputes

Catrya commented 1 month ago

@danfercf1 Esto ocurre en producción? No lo logro reproducir. O te refieres a la rama main?

danfercf1 commented 1 month ago

@danfercf1 Esto ocurre en producción? No lo logro reproducir. O te refieres a la rama main?

main branch

Catrya commented 1 month ago

main branch

Lo intento reproducir pero no me muestra undefined, probé dentro de una comundad y general, te sigue saliendo @danfercf1 ?

image

danfercf1 commented 1 month ago

No pude probar en producción, pero si en la rama main en local