<%- include("../../../src/web/views/partials/layout-top", { title }) %>

TOs & Bans

Monitor active sanctions and moderation history.

Current Timeouts & Bans

<% if (!activeSanctions.length) { %>

No active bans or timeouts.

<% } else { %> <% activeSanctions.forEach((sanction) => { %> <% }) %>
User Type Reason Expires Actions
<%= sanction.display_name || sanction.subject_id %> <%= sanction.action_type %> <%= sanction.reason_short %> <%= sanction.expires_at ? new Date(sanction.expires_at).toLocaleString() : "Permanent" %>
<% if (sanction.action_type === 'timeout') { %>
<% if (!isAdmin) { %> <% } %> <% if (isAdmin) { %>
<% } %>
<% } %>
<% } %>
History Searchable log of every moderation action.
<% if (!actions.length) { %>

No actions recorded.

<% } else { %>
<% actions.forEach((action) => { %> <% const evidence = actionEvidence[action.id] || []; %> <% const displayName = action.display_name || action.subject_id; %> <% const byName = action.created_by_name || action.source || 'Staff'; %> <% const evidenceNames = evidence.map((item) => item.name).join(' '); %> <% }) %>
User Type Platform Reason By Evidence Date
<%= displayName %> <%= action.action_type %> <%= action.platform || 'global' %> <%= action.reason_short %> <%= byName %> <% if (!evidence.length) { %> None <% } else { %>
<% evidence.forEach((item) => { %> <%= item.name %> <% }) %>
<% } %>
<%= new Date(action.created_at).toLocaleString() %>
Page 1 of 1
<% } %>
<%- include("../../../src/web/views/partials/layout-bottom") %>