tweak language response

This commit is contained in:
Erik 2021-06-16 21:40:19 +03:00
parent 67f8d32040
commit 96cc1cd111
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16

View File

@ -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)) {