-
Notifications
You must be signed in to change notification settings - Fork 131
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
Conditional commands with regex #200
Comments
no reply yet :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i'm trying to make an autoresponse with my bot and trying to use conditional commands to know whether the command is enabled or disabled. here is the code that i have for it:
the bot responds to the message whether the trigger is enabled or not, i use a MySQL database where i have a status set to either
0
or1
per channel to know if it's enabled there or no.i have tried using
aliases
rather thanregex
and it worked fine, the issue is only happening with regex :/the bot also edits the message for some unknown reason. there is a Gif attached.
what could cause this? Am i doing something wrong?
thanks for the help
The text was updated successfully, but these errors were encountered: