style: resolve linting issue in checkBan

This commit is contained in:
William Oldham 2025-01-21 09:21:04 +00:00
parent 40b92c6312
commit fd836d38d6

View File

@ -53,7 +53,7 @@ async function checkBan(request, response, next) {
let banMessage = '';
switch (userSettings.account_status) {
case 2:
banMessage = `${request.user.username} has been banned until: ${ moment(userSettings.ban_lift_date) }. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;
banMessage = `${request.user.username} has been banned until: ${moment(userSettings.ban_lift_date)}. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;
break;
case 3:
banMessage = `${request.user.username} has been banned forever. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;