Lotto commands and schedules
Commands
Section titled “Commands”/lotto start
Section titled “/lotto start”Starts a lotto in the channel you use it in. You must be verified. Give a cash prize or an item, not both.
| Option | Type | Required | Values and limits | What it does |
|---|---|---|---|---|
cash | whole number | No | At least 1 | A cash prize in dollars, like 1000000 |
item | text | No | A Torn item as the prize (pick from the list) | |
amount | whole number | No | 1 to 1,000 | How many of the item (default 1) |
duration | text | No | How long it runs, like 6h or 1d 12h (default 24h, at most 7d) |
/lotto start cash:1000000is a million dollars for 24 hours./lotto start item:Xanax amount:10 duration:6his ten Xanax for six hours. Pick the item from the list that appears as you type./lotto start item:with a Torn parcel item andduration:2dis a parcel. The bot then asks you to list its contents privately.
The duration takes days, hours and minutes, like 90m, 6h or 1d 12h, from 1 minute to 7 days.
/lotto cancel
Section titled “/lotto cancel”Cancels the running lotto after you confirm. For its host or a bot admin.
No options. Type the command and press Enter.
/lotto repost
Section titled “/lotto repost”Posts the running lotto’s panel again after its message was deleted. For the host or a bot admin. Entries are kept, and the lotto role is pinged again.
No options. Type the command and press Enter.
/lotto history
Section titled “/lotto history”Every lotto this server ran. About the list.
No options. Type the command and press Enter.
/lotto leaderboard
Section titled “/lotto leaderboard”Who won and who gave the most. About the boards.
No options. Type the command and press Enter.
/lotto status
Section titled “/lotto status”Whether a lotto is running here, with a link, and which drawn lottos are waiting for their winner.
No options. Type the command and press Enter.
/lotto ping
Section titled “/lotto ping”Gives you the lotto notifications role, or takes it away if you have it.
No options. Type the command and press Enter.
What runs in the background
Section titled “What runs in the background”| Job | Runs | What it does |
|---|---|---|
lotto-sweep | every 15 seconds | Draws lottos when their time is up, reminds winners who have not confirmed, and closes lottos nobody confirmed. |
lotto-archive | every hour | Archives lottos a month after they end: removes the buttons from their panel and deletes their list of entrants. |