Lullabot / lubot

1 stars 0 forks source link

#8 makes the all: command case insensitive by making the startsWith function case insensitive. #37

Closed m4olivei closed 9 years ago

m4olivei commented 9 years ago

Resolves #8

Because I fixed this in the startsWith function, it also makes these other commands case insensitive:

delete factoid karma pingtroll seen tell

I also simplified the startsBot function, using the RegExp to do the checks we were doing there to avoid the extra function calls.

eojthebrave commented 9 years ago

Nice. I love that you fixed this in startsWith. Thanks!