You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause was that the <bot test> was returning a string with capital letters, so "Hi there" wasn't matching "hi there". I also fixed a similar issue with lowercasing @Redirects that I found on the Go version.
Edit: for the UTF-8 version, I fixed another bug that was causing that to fail (interestingly, the UTF-8 example worked with UTF-8 Mode disabled, and broke when enabled). 4c3d82a The <bot> tags used to be getting sent through the utils.strip_nasties() function which removed all symbols/foreign characters, so instead I send it through the same format_message() function as the user message/bot lastReply so that the UTF-8 rules apply consistently.
The <bot> tag was being passed through `utils.strip_nasties()` which was
removing all Unicode symbols even in UTF-8 mode. Instead, pass the bot
variables through `format_message()` to give them the same treatment as
normal messages.
This fixes#80 some more.
In the JS version this seems to work, but not in the Python version.
The text was updated successfully, but these errors were encountered: