new detectors and reactions

This commit is contained in:
Lou 2025-11-20 18:48:49 +01:00
parent 73b906fd9b
commit fe3fd9b1b6
11 changed files with 266 additions and 10 deletions

View file

@ -12,6 +12,7 @@ const answers = [
export default class PingDetector extends Detector {
triggerName = 'mention';
//prevent trigger if user is doing a troll on its own
async detect(message) {
if (/(^|\b)(feur|quoicoubeh)(\b|$)/i.test(cleanMessageContent(message))) {
return false;