Commit Graph

6 Commits

Author SHA1 Message Date
Roboron3042 190a4e98af FIX: Ignora dobles espacios 2024-10-15 22:01:48 +02:00
Roboron3042 f0bad020ae FIX: Mejora control de errores 2024-10-15 21:31:56 +02:00
Roboron3042 85be0ca722 FIX: apreciabot ahora ignora los saltos de línea 2024-10-15 21:18:52 +02:00
Roboron3042 c5665da8a2 ADD: Modo cumpleaños apreciabot 2023-11-13 18:05:28 +01:00
Carlos Mañas a381b9bcd4
fix(apreciabot): Remove super weird invisible unicode spaces
When copying the user's address from the Mac Ivory client, it adds invisible Unicode characters before and after the address. For example, "@user@mastodon.social" becomes "\u202a@user@mastodon.social\u202c". Visually, there is no difference, but it makes it impossible for the bot to locate the user.

Considering my limited knowledge of Python, I suggest using re to remove these Unicode characters before splitting the string.

100% proposition, 0% obligation.
2023-06-09 19:34:30 +02:00
Roboron3042 62f165d487 Initial commit 2023-04-23 13:47:16 +02:00