rename string into clean & add settings

This commit is contained in:
Lou 2025-11-25 18:27:54 +01:00
parent 4d309e2e9e
commit 65e09de7e2
10 changed files with 24 additions and 10 deletions

13
utils/settings.js Normal file
View file

@ -0,0 +1,13 @@
const defaultSettings = {
quoiAnswerPercentage: 100,
feurAnswerPercentage: 100,
mentionAnswerPercentage: 100,
quoicoubehAnswerPercentage: 100,
ignoredRoleId: null, // ajouter ID au besoin
forcedAnswerRoleId: null // ajouter ID au besoin
};
export function getSetting(guildId, key) {
// brancher une BDD plus tard
return defaultSettings[key] ?? null;
}