forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
c1c131ecd7
commit
80e4279245
@ -115,7 +115,7 @@ class MentionFilter extends FilterSetting {
|
|||||||
};
|
};
|
||||||
const { modified } = this[method.value](setting[list.value], params.map((o) => o.id));
|
const { modified } = this[method.value](setting[list.value], params.map((o) => o.id));
|
||||||
if (modified.length) {
|
if (modified.length) {
|
||||||
index = `SETTING_SUCCESS_${method.toUpperCase()}`;
|
index = `SETTING_SUCCESS_${method.value.toUpperCase()}`;
|
||||||
langParams.list = list;
|
langParams.list = list;
|
||||||
langParams.modified = modified.filter((o) => modified.includes(o.id || o)).map((o) => o.name || o).join('__, __');
|
langParams.modified = modified.filter((o) => modified.includes(o.id || o)).map((o) => o.name || o).join('__, __');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user