You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think checking the #events channel is the right thing to do here. Instead I think checking for "when is the next" can be checked with a fallback. Have we every had any incorrect Dobot responses from that phrase?
I figure it'd make sense to require a "when…" or "what…" prefix? At the minute, it's aiming to respond to "is there a jsoxford meetup", but the regex is super lax, and matches "is there a something".
Edit: Not to mention the latter half of the regex is totally pointless and doesn't do anything:
All of these list a bunch of synonyms for meetup, then the final ? makes the entire group optional.
Edit the second: Wait, it's not totally pointless. It's to allow for "when's the next jsoxford", as well as "when' the next whatever meetup" – though you could handle that with a well-placed $ perhaps… 🤔
#90 (comment)
When Dobot hears it's trigger work in #events that doesn't include a meetup it should use the fallback and announce the next upcoming.
The text was updated successfully, but these errors were encountered: