Skip to content

Commit

Permalink
chore: 🤖 add more triggers for form queries
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Feb 15, 2024
1 parent afe55f5 commit d60b1e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ListenerTriggers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,12 @@ const confirmationEmail: OnMessageCreate = {
!!msg.content.match(/.*[fF]orm.*closed/gm) ||
!!msg.content.match(/.*[pP]hase.*4.*form/gm) ||
!!msg.content.match(/.*[fF]orm.*[tT]estnet.*4/gm) ||
!!msg.content.match(/.*[gG]enesis.*operator.*form/gm),
!!msg.content.match(/.*[gG]enesis.*operator.*form/gm) ||
!!msg.content.match(/.*[fF]orm.*closed?/gm) ||
!!msg.content.match(/.*wasn.*able.*fill.*form/gm) ||
!!msg.content.match(/.*([fF]orm|[hH]ow|[wW]hy|[wW]h?ere).*(haven|not?).*got.*access/gm) ||
!!msg.content.match(/.*([wW]h?en.*form.*again)/gm) ||
!!msg.content.match(/.*[fF]illed.*form/gm),
cb: async (msg) => {
const message = textTemplt({
tmplt: aboutConfirmationEmail,
Expand Down

0 comments on commit d60b1e5

Please sign in to comment.