<% for (const action of lastActions) { %>
<%- action.message %>
(<%= action.id %>)
<%= action.date %>
<% if (!permsDisable.ban) { %>
<% if (
action.isRevoked ||
(action.type === 'warn' && permsDisable.warn) ||
(action.type === 'ban' && permsDisable.ban)
) { %>
REVOKE
<% } else { %>
<% } %>
<% } %>
<%= action.reason || "" %>
<% if (action.footerNote) { %>
<%= action.footerNote %>
<% } %>