Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 30 forks source link

[Feature request] Defender/Warden Add punctuation awareness to message-contains-word condition #53

Open EternalllZM opened 2 years ago

EternalllZM commented 2 years ago

Cog

Describe the feature you'd like to see message-contains-word should be punctuation aware. If you are looking for "word" and someone uses it to end a sentence with proper punctuation ("word?"), it does not proc as a valid word match. If you do "*word*" to match it then you might as well just use message-matches-any because it is the same thing.

EternalllZM commented 10 months ago

Still an issue in version v2.0.1 and makes the condition essentially useless in most cases