Commit Graph

2 Commits

Author SHA1 Message Date
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