explaination to all trigger

This commit is contained in:
Lou 2025-11-20 19:01:28 +01:00
parent fe3fd9b1b6
commit 9142e440d5
6 changed files with 32 additions and 8 deletions

View file

@ -4,6 +4,10 @@ import conj from 'conjugation-fr';
import { toInfinitive } from "../data.js"; // check path ??
import { cleanMessageContent } from "../utils/strings.js";
/*check the pronoun / subject of the question to answer properly by conjugating
exemple : tu fais quoi ? je fais feur
*/
const suffixes = [
', mon gars',
', mec',
@ -13,9 +17,6 @@ const suffixes = [
''
];
// check the pronoun of the question to answer properly
// exemple : tu fais quoi ? je fais feur
export default class withPronounDetector extends Detector {
async createSpecificReply(message) {
const reference = await message.fetchReference().catch(() => null);