diff --git a/actions/warn.js b/actions/warn.js index 6e64d17..248d527 100644 --- a/actions/warn.js +++ b/actions/warn.js @@ -41,7 +41,7 @@ module.exports = async ({ admin, amend, reason, userToWarn }) => { const warnMessage = html` ⚠️ ${lrm}${admin.first_name} warned ${link(userToWarn)}. ${count}: ${lrm}${reason} - ${typeof expireWarnsAfter === 'undefined' || expireWarnsAfter === Infinity ? '' : `Expires on ${yyyymmdd(new Date(date.getTime() + ms(expireWarnsAfter)))}`} + ${typeof expireWarnsAfter === 'undefined' || expireWarnsAfter === Infinity ? '' : `This warning expires on ${yyyymmdd(new Date(date.getTime() + ms(expireWarnsAfter)))}`} `; if (recentWarns.length >= numberOfWarnsToBan) {