and while we are at it.
why not even add support for regex ?
I mean that would be a win win.
I hate when a command have to be called with proper capiltalization as most of input on mobile auto-capitalizes the first letter.
Yes, you can disable that if you don’t like it, it’s in your keyboard settings.
yeah. that is additional step on average viewer end. which is less economical then just triggering the command.
No Nightbot commands have to be called with proper capitalization, you can call !test , !Test or !TEST and Nightbot will still answer if there’s a !test command.
I know how nightbot works. and i hate that it doesn’t auto correct a little slight of a mistake ?
maybe just do "Whtever the stuff is ".toLowerCase() . and compare it against the record. its not hard.
I understand that, I’m just giving my feedback on your suggestions. Am I not allowed to do that?
It’s not as simple as you make it sound, parameters vary so much in nature we can’t realistically expect to impose everyone to use lowercase, some users might want to do something special with uppercase, for example:
That’s why it falls on the person who writes the code to make it case-insensitive if they wish to.
I understand that. that’s why i am asking for a “flag” as mentioned below.
you can make it default case insensitive. but when required make it case sensitive ?
the example you gave can be given a flag “case_sensitive=true” and it will care to pass the argument as exactly as they are. else we lower whole of the message in starting and send it to db/compare against db.
and that. that is the answer to the question. a feature request mainly aimed towards a change in the code. i think dev also read the forums ?.