CharlieHess / slack-poker-bot

A bot that deals Texas Hold'em games in Slack
MIT License
1.66k stars 206 forks source link

Simplify containsUserMention function #38

Closed wgpsutherland closed 9 years ago

wgpsutherland commented 9 years ago

I thought this function would be clearer and simpler using ECMAScript6 string searching, given that the rest of the project is written using ECMAScript 6. Thanks!

CharlieHess commented 9 years ago

Sure, why not.