forked from Galactic/galactic-bot
tweak language response
This commit is contained in:
parent
67f8d32040
commit
96cc1cd111
@ -132,8 +132,8 @@ class ModerationPointsSetting extends Setting {
|
|||||||
if (points > 100) return { error: true, msg: message.format('S_MODERATIONPOINTS_TOOBIG', { arg: points }) };
|
if (points > 100) return { error: true, msg: message.format('S_MODERATIONPOINTS_TOOBIG', { arg: points }) };
|
||||||
|
|
||||||
setting.points[infraction] = points;
|
setting.points[infraction] = points;
|
||||||
index = 'S_MODERATIONPOINTS_ASSOCIATE';
|
index = 'S_MODERATIONPOINTS_ASSIGN';
|
||||||
langParams = { word: infraction, points };
|
langParams = { infraction, points };
|
||||||
|
|
||||||
} else if (['expire', 'expires'].includes(submethod)) {
|
} else if (['expire', 'expires'].includes(submethod)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user