Skip to content

Confirming changes

Some actions change a lot at once, or are hard to undo, such as cancelling a giveaway. Before teabot runs one, it shows you a plan of what will change, and waits for you to confirm it.

What you see

Run an action like /giveaways cancel giveaway:3. teabot replies, privately, with the plan:

Plan: giveaways.cancel
Nothing has changed yet. Confirm within 15 minutes to apply it.

Changes        cancel: 1
First entries  cancel Discord Nitro: 4 entrants
               [ Confirm ]
  1. Read the plan. Nothing has changed yet.
  2. If it is right, choose Confirm within 15 minutes. If it is wrong, do nothing, and it expires.
  3. teabot replies Applying, and the reply updates itself as the change goes, such as Applying: 3 of 10., until it says Done. A change still going after 14 minutes points you at /admin job_status, which shows its State: pending, running, done, or failed with the reason.

Only the member who ran the action can confirm its plan, and each plan can be confirmed once. Your permissions are checked again when you confirm.

A stale plan

If what the plan shows changes before you confirm, such as someone entering the giveaway, teabot applies nothing. It shows you a fresh plan instead, which says:

The target has changed since your last plan, so nothing was applied. This is the fresh plan.

Read the new plan, and confirm it if it is right.

An AI assistant gets the same plan, and is told to show it to you and wait for your agreement before it confirms.

Next: The audit log.