Docs
How Tenure works, for staff, server owners and bot developers.
What a record shows
Where someone served, for how long and in what job, what they did there in their own words, and reviews from the server's managers. Every entry has a Details section showing who says they were staff, who owns the server, how big and how old it is, and how long Tenure has watched it, so readers can judge it themselves.
Tenure doesn't show how many bans someone made. It shows how often their calls held up: a ban or timeout lifted by someone else within 30 days counts against them.
What counts
Tenure reads each server's audit log. When someone gets a staff role their time starts, and it stops when the role goes or they leave. Time only counts when:
- The role has been reviewed and approved by Tenure, with a job type: Moderation, Support, Management, Development, Events, Media & design.
- The server is at least 90 days old, has 100 members and has had Tenure for 14 days. Smaller servers never count.
Time is recorded while a role waits for review, so nobody loses anything.
Leaving and references
When someone leaves a server's staff, Tenure asks that server's managers once, in the server's staff channel: would you rehire them? The answer stays with that server.
When someone applies to a new server they can allow reference checks. The new server's managers then ask the servers the applicant has left, again in those servers' staff channels. Answers already given when the person left come back straight away. Servers the applicant is on staff in now are never asked, so applying somewhere doesn't tip off their current team. Records only ever show how many servers said yes.
Set your staff channel in the dashboard under Settings. Pick a channel only your managers can see.
Managers
Being a server owner doesn't let you change anyone's record. Managers can review staff, set job titles and add time from before Tenure joined, and every manager is approved by Tenure. The owner asks with /access request or nominates people with /managers add.
Commands
/cardshows your record, or someone else's. Addshareto post it in the channel./stafflists this server's current staff./reviewrates someone 1 to 5 on reliability, judgement and communication, with a note. Managers only./addtimeadds past staff time with a job type. Managers only./titlesets someone's job title here. Managers only./access requestasks Tenure for manager access. Owner only./managers add,removeandlist. The owner nominates, Tenure approves./applyposts the staff application button. Needs Manage Server./settingsshows this server's staff roles and their review status./bugreports a bug privately. Only the Tenure team can read reports.
Setting up a server
- Add Tenure. It needs View Audit Log, and Send Messages if you use applications.
- Open your server in the dashboard and give each staff role a job type. Tenure suggests some automatically.
- Wait for review. Approved roles start counting straight away, including time recorded while they waited.
- Optional: ask for manager access, turn on applications, and run
/apply.
Server API
Approved servers can connect their own tools: read the staff list, add staff time from before Tenure joined (with a job type), and set job titles. Servers that don't use APIs get the same things as the manager commands. Ask for access from the API tab in your server's dashboard. Tenure reviews every request, and once it's approved the owner creates a key there.
Authorization: Bearer tns_...
GET /api/v1/server server, staff roles and their categories
GET /api/v1/staff?all=1 current staff, or everyone who has served
POST /api/v1/staff/time { "user_id", "role_id", "job": "moderation", "from": "2024-03", "to": "2025-01" }
DELETE /api/v1/staff/time/:id remove time this server added
PATCH /api/v1/staff/:user_id { "title": "Head of Appeals" } or { "title": null }
A key only sees its own server. Added time shows on records as added by the owner, and categories can't be changed through the API.
Partner API for mod bots
Discord's audit log credits a ban to the bot that ran it, not the person who used the command. Many mod bots write the moderator into the reason, and Tenure reads just their id from it, as long as that person is on staff in the server. Mod bots can also report the real moderator directly. A report only counts when it matches an audit log entry made by your bot, for the same member, within 10 minutes. Ask us for a key.
POST https://tenured.xyz/api/v1/actions
Authorization: Bearer tnp_...
Content-Type: application/json
{ "guild_id": "...", "moderator_id": "...", "target_id": "...", "kind": "ban" }
kind is one of ban, kick, timeout, unban, untimeout. Send up to 100 at once as { "actions": [...] }.