Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dadbot functionality #54

Open
the-og-gear opened this issue May 6, 2020 · 3 comments
Open

Dadbot functionality #54

the-og-gear opened this issue May 6, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@the-og-gear
Copy link
Contributor

I've no idea if this is intended functionality, it kinda died at the single quote/second "i'm"
image

If that's not intended then uh, yeah. Enjoy.

@ghost ghost added the bug Something isn't working label May 6, 2020
@ghost
Copy link

ghost commented May 6, 2020

well, it activated
clearly the regex needs work, but this is in a config file outside of the repo.
still marking as a bug

@bealsbe
Copy link
Owner

bealsbe commented May 6, 2020

I reduced the likelyhood of this response by quite a bit.

@thetayloredman
Copy link

thetayloredman commented Sep 2, 2020

You should use this regex

/^i'm .*/i

REGEX BREAKDOWN

/ Regex start token
^ Match at the start of the test string
i'm Match the text "i'm "
. Match non-breaking character
^^^ * QUANTIFIER Match any amount of the preceding token
/ End of regex, now the flags
i Case Insensitive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants