orz-bot
orz-bot copied to clipboard
Antiorz
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
- if 'orz' in content.lower():
+ if ('orz' in content.lower()) and not ('antiorz' in content.lower()):
Example:
With Patch: (ignore edit message lol)
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