Saturday 29 April 2017

Making a Regex pattern Javascript

I can kind of read regex but building a pattern is out of my capability at the moment, I am building a Discord Bot and I need to check if a message includes emoji s. Emoji s in Discord look like :emoji:, I tried checking if the message includes a colon : but as it turns into an emoji, it didn't recognize it. I am using the Discord.js library if that matters.



via Rusty

No comments:

Post a Comment