Skip to content

Commit

Permalink
feat: bug reminder triggerd by messages containing error
Browse files Browse the repository at this point in the history
The bug reminder is also triggered by messages containing `error`.
  • Loading branch information
chr-tatu authored Jul 26, 2024
1 parent d9927bc commit bb3aaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async function processThreadMessagesForGratitude(client, event) {
async function processTopMessagesForBugWorkflowReminder(client, event) {
if (!CHANNELS_FOR_BUGS_WORKFLOW_REMINDER.includes(event.channel)) return;

const issueWordsRegex = /(bug|issue|reproduce|complain|replicate)/i;
const issueWordsRegex = /(bug|issue|error|reproduce|complain|replicate)/i;
const ignoreWordsRegex = /feedback/i;
const reminderMessage = `Oops! 🐞\nIt seems you found a bug, <@${event.user}>. Please use the 'Report a Bug' workflow. Thanks! 🙌`;

Expand Down

0 comments on commit bb3aaf8

Please sign in to comment.