From ba5be671a12bb23b1d3dfe6aeb5021db5f4363ae Mon Sep 17 00:00:00 2001 From: piplupness Date: Fri, 17 Jan 2025 02:41:59 +0100 Subject: [PATCH] Developers -> Moderators pt2 --- src/middleware/checkBan.js | 6 +++--- src/webfiles/ctr/partials/ban_notification.ejs | 8 ++++---- src/webfiles/portal/partials/ban_notification.ejs | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/middleware/checkBan.js b/src/middleware/checkBan.js index ee5b095..6f40374 100644 --- a/src/middleware/checkBan.js +++ b/src/middleware/checkBan.js @@ -55,13 +55,13 @@ async function checkBan(request, response, next) { let banMessage = ''; switch (user.account_status) { case 2: - banMessage = `${request.user.username} has been banned until: ${ moment(user.ban_lift_date) }. \n\nReason: ${user.ban_reason}. \n\nIf you have any questions contact the developers in the Discord server.`; + banMessage = `${request.user.username} has been banned until: ${ moment(user.ban_lift_date) }. \n\nReason: ${user.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: ${user.ban_reason}. \n\nIf you have any questions contact the developers in the Discord server.`; + banMessage = `${request.user.username} has been banned forever. \n\nReason: ${user.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`; break; default: - banMessage = `${request.user.username} has been banned. \n\nIf you have any questions contact the developers in the Discord server.`; + banMessage = `${request.user.username} has been banned. \n\nIf you have any questions contact the moderators in the Discord server or forum.`; } return response.render('web/login.ejs', {toast: banMessage, cdnURL: config.CDN_domain,}); } else { diff --git a/src/webfiles/ctr/partials/ban_notification.ejs b/src/webfiles/ctr/partials/ban_notification.ejs index d660934..04870ba 100644 --- a/src/webfiles/ctr/partials/ban_notification.ejs +++ b/src/webfiles/ctr/partials/ban_notification.ejs @@ -11,16 +11,16 @@ <%} else {%> diff --git a/src/webfiles/portal/partials/ban_notification.ejs b/src/webfiles/portal/partials/ban_notification.ejs index f1afa0e..2d2ccfc 100644 --- a/src/webfiles/portal/partials/ban_notification.ejs +++ b/src/webfiles/portal/partials/ban_notification.ejs @@ -11,16 +11,16 @@ <%} else {%>