Open Shad0wSeven opened 3 years ago
However, if orz
appears elsewhere in the message, Orz Bot should logically still react. To solve this, we can instead compare:
if content.lower().count('orz') > content.lower().count('antiorz'):
As long as there is one "orz" that does not belong in an "antiorz" substring, then Orz bot will react. This would allow Orz Bot to react to "orz antiorz" for example.
END ORZ i will edit to reflect that
No, your latest commit breaks the code... what are you doing? We want a reaction if and only if there are strictly MORE orz
es that are antiorz
es.
end bullies me 24/7
Basically orz has spawned the new "antiorz" slang for anti-orz things, however orz bot still reacts to them with orz.
This is very antiorz.
make orz bot orz again ORZ2020
its literally a one liner change
Example:![image](https://user-images.githubusercontent.com/19739712/107864276-80d5eb80-6e0f-11eb-8769-901ef5f1a8b8.png)
With Patch: (ignore edit message lol)![image](https://user-images.githubusercontent.com/19739712/107864286-9b0fc980-6e0f-11eb-800c-5a1919804670.png)