← All documentation

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

What the bot also does by itself

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.

  1. Open the site’s Discord bot page and pick your server.
  2. Find Availability forms and choose a channel. Pick one only the people who should see it can read.
  3. 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.

  1. Open the site’s Discord bot page and pick your server.
  2. Find Revive check and choose a channel.
  3. 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:

  1. Open the site’s Discord bot page and pick your server.
  2. Make sure the chain-watch faction is set: that is the vault /banker uses.
  3. 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.