Bot documentation
Last updated November 2, 2026
How to use the Nightwatch Discord bot and set it up for a server.
The Discord bot
The Nightwatch bot is one bot that every server uses. Each server is set up on the site’s Discord bot page, by someone who is an admin or has Manage Server there. Nothing is switched on for a server until it is saved on that page.
Commands
/verify: link your Torn account. Link Discord to Torn once through Torn’s official Discord server first. You never give anyone your key for this./playerlookup: a player card with stats, the last 30 days, Hall of Fame and activity./factioncompare: compare two factions’ battle stats and activity./revive check,/revive ping,/revive war,/revive war-ping: who has revives on in your faction (or a faction ID); the ping ones ping only our own members; war adds the faction you are at war with./factionactivity: a weekly activity heatmap for a faction./chainwatch time: show your faction’s chain timer./chainwatch panelposts the sign-in button./banker balance: your money and points in the faction vault, in a pop-up only you see./banker withdraw: ask the bankers for money from your vault balance, like/banker withdraw 50m, orallfor the whole balance. Pick Points for points, within for how many hours it stands (6 unless set), and when: any time, only while online, or only while offline./settimezone: show bot times in your own time zone./setkey,/mykey,/removekey: donate, check or remove a Public key.
What the bot also does by itself
- Gives new members the Verified role and sets their nickname in the format the server picked: any mix and order of their Torn name, ID and faction tag, like “{name} {id} {tag}” or “{name} [{id}]”. A nickname that already fits is left as it is.
- Posts chain and hospital alerts and the daily reset post in the channels the server chose.
- Answers pings of the banker role (see below).
War and chain watch availability notices
When a leader opens a war or chain watch availability form on the site, the bot can post a notice in its own channel, with the dates and a link. Both kinds use the same channel. It never pings anyone.
- Open the site’s Discord bot page and pick your server.
- Find Availability forms and choose a channel. Pick one only the people who should see it can read.
- Press Save. With no channel chosen, nothing is posted.
Forms opened before a channel was chosen are not posted later.
Verification posts and faction roles
In Torn verification on the bot page you can pick a channel for new verifications (and people who join without a Torn link) and a separate channel for update logs (roles given or taken, nickname changes, and problems the bot hit). Nobody is pinged by these posts; a blank channel posts nothing. Faction roles give a role to members of a faction; Position roles (optional) give a role for a faction position, like Leader. These follow Torn: leaving the faction (or position) takes the role away at the next check, unless the member has one of the ignore roles (like Guest) or their Torn ID is on the ignore list. The Verified role stays once given. An Unverified role can be given to anyone not linked to Torn yet; it goes once they are verified. People not linked get the steps by DM, or are tagged in the channel you pick if their DMs are closed. Anyone can verify someone else with /verify member:@name. Leadership, or anyone with Manage Roles, can verify everyone at once with /verifyall; it goes at a safe pace for Torn and sends a summary when done.
Overdose alerts
When one of our members overdoses, the bot posts it in the channel picked on the bot page (Overdose alerts), pinging the role picked there, if any. The site checks Torn every 5 minutes. Leave the channel blank to post nothing.
War timing
For a real war (one that had a war availability form), the bot posts in the War timing channel a Xanax stacking reminder (36 hours before the war starts unless changed) and a Vicodin reminder (4 hours before unless changed), tagging the role picked for each. Both times can be changed on the bot page. The start time is Torn’s. A reminder that misses its hour by more than 30 minutes is skipped. Leave the channel blank to post nothing.
Revive check
When a leader opens the war availability form, the site checks every member of both factions and the bot posts who has revives on, in a channel the server chose. It pings our own members who have revives on (only those the bot can link to a Discord account who are in the server); the other faction is only named. Revives must be off for war.
- Open the site’s Discord bot page and pick your server.
- Find Revive check and choose a channel.
- Press Save. With no channel chosen, nothing is posted.
The check is made once for each war, when its form is opened. Leaders can look at it later on Faction → War → Revives at form open.
Banker
/banker balance shows a member their own vault balance. /banker withdraw posts their request in the bankers channel and pings the banker role (the member is named, not tagged), with a Pay in Torn link, a Paid button (banker role or leadership) and a Cancel button (the member, or a banker). A request for more than the member’s balance is refused. The request shows if it is to be sent only while online or only while offline, with a Profile link to see if they are online; one not paid in time disappears by itself and the member gets a direct message. Pay in Torn opens Torn’s Give money form filled in. Once Torn shows the money given out, the bot closes the request by itself within about 15 seconds: it deletes the request and the member gets a direct message. Paid does the same by hand, and Cancel removes a request. Pinging the banker role gets a short reply pointing to these commands.
Set it up for a server:
- Open the site’s Discord bot page and pick your server.
- Make sure the chain-watch faction is set: that is the vault
/bankeruses. - Under Banker, set the Banker role and the Bankers channel, then press Save.
Members link Discord to Torn once through Torn’s official Discord. The bot needs permission to view, send messages and read history in the bankers channel.
Something not working?
See bot troubleshooting.