Skip to content
DireWork

Chat commands

All available Twitch chat commands

Once you've connected a bot account, viewers can interact with DireWork through Twitch chat commands.

New to the stream? (for viewers)

  1. Type !task and what you're working on, like !task read 10 pages.
  2. Work along with the stream.
  3. Type !done when you finish.

Stuck on a command? Type !dw help and its name, like !dw help done.

The bot listens while its page is open. Copy the Widget URL from Dashboard → Bot into an OBS browser source or a Moblin widget (it's invisible on stream), or the Dock URL into an OBS custom browser dock or a pinned browser tab. While that page is open, the bot reads chat and replies — close it and the bot goes quiet. If you regenerate the bot token, re-copy the URL.

Task commands (all viewers)

CommandDescription
!task <text>Add a new task (your first task automatically becomes your active one)
!doneMark your active task as done
!done <number>Mark a specific task by position as done (!done 2 and !done #2 both work; anything that isn't a number gets a usage hint instead of completing your active task)
!edit <number> <text>Edit a specific task by position
!remove <number>Remove a specific task by position
!focus <number>Set a task as your active/focused task
!start <number>Start a waiting task beside your focus (up to 3 going at once; with nothing going it becomes your focus)
!pausePause your focus; your next started (or waiting) task takes over
!pause <number>Pause a specific task you started (it goes back to waiting)
!checkShow your current active task, plus how many more you started
!check @userShow another user's active task and their started count (the @ is optional, and trailing punctuation like @user? is ignored)
!todayShow your active task, next two tasks (with their numbers), and how many more are queued
!next <text>Complete your active task and start a new one
!helpPost the 3-step starter guide (the streamer can reword it)

Who can add tasks

Dashboard → Bot → Live controls → Who can add tasks limits the two commands that create tasks, !task and !next. It saves the moment you pick a level:

LevelWho can add tasks
Everyone (default)Any viewer
FollowersFollowers, subscribers, VIPs and mods
SubscribersSubscribers (founders too), VIPs and mods
VIPs and modsVIPs and mods
  • The streamer and mods can always add tasks. Every other command (!done, !start, !check, …) works for anyone who already has tasks.
  • Subscribers and VIPs come from the badges Twitch sends with each chat line, read by the bot page the same way it reads mod badges.
  • Followers asks Twitch once per viewer, as the bot account. A confirmed follow is remembered for 7 days and a "not following" for 10 minutes, so a viewer who just followed gets in soon. Subscribers, VIPs and mods skip the check.
  • For Followers, the bot account must be a mod in your chat (/mod YourBot) and must have been connected with the follower permission. A bot connected before this setting existed needs one reconnect: Bot settings shows Reconnect the bot to allow follower checks when it does.
  • If Twitch can't answer (a hiccup, the bot isn't a mod, or it hasn't been reconnected), the bot refuses the task rather than letting everyone in, and replies Follow check failed ("I couldn't check your follow just now…"). The viewer can try again a minute later.

Task commands (broadcaster / mods)

CommandDescription
!clear allClear all tasks from the list
!clear doneClear all completed tasks
!clear @userRemove all tasks from a specific user (the bot says so when that user had none)

Timer commands (broadcaster / mods)

CommandDescription
!timer startStart the timer with default settings
!timer start <cycles>Start the timer with a specific cycle count
!timer pausePause the timer
!timer resumeResume the timer
!timer skipSkip the current phase
!timer resetReset the timer to idle
!timer etaShow time remaining in the current phase and the whole session (while paused, the frozen time left)

Task numbers are the ones !today shows, so !edit #2 …, !remove #2, !focus #2, !start #2 and !pause #2 work as well as the plain number.

When !timer pause, resume or skip can't do anything, the bot says why instead of replying "Done.": pausing a paused timer gets The timer is already paused. Use !timer resume to continue., resuming a running one gets your Timer Running reply, and if another action changed the timer at the same moment it replies The timer changed just before that, so I left it alone. Check it and try again. These fixed replies aren't editable.

Moderation commands (broadcaster / mods)

CommandDescription
!mutePause the bot: it ignores every command and posts nothing
!unmuteResume the bot
!block @userBlock a viewer and remove every task they added
!unblock @userLet a blocked viewer use commands again
  • Muted means everything. While muted the bot ignores every command, task, timer and meta commands included, and posts nothing in chat. The only command that works is a mod's !unmute. The board and timer stay as they are. You can also flip the Mute bot switch at the top of Dashboard → Bot.
  • Blocked viewers get no reply. The bot silently ignores their commands, and blocking removes every task they added. !unblock restores their commands, not their tasks.
  • The streamer can't be blocked, and the streamer's own commands always run.
  • Blocking is by Twitch login. A viewer who renames their account slips the block; block the new name too. The block list holds up to 200 names and is also editable under Moderation on Dashboard → Bot.

Bans and timeouts

  • A timeout keeps the viewer's tasks. Nothing changes on the board.
  • A ban removes the viewer's tasks 5 minutes later, so a mistaken ban can be undone first. If the viewer chats again within those 5 minutes they were unbanned, and their tasks stay. If a mod lifts the ban and gives a timeout instead, the timeout wins and their tasks stay too. A second ban of the same viewer in that window doesn't add another removal.
  • The bot page must stay open for those 5 minutes: it holds the timer. Close or reload it in that window and the removal is skipped; clear the viewer with !clear @user.
  • An unban on its own isn't visible to the bot (Twitch chat doesn't announce it), so a viewer who is unbanned but stays quiet for those 5 minutes still loses their tasks.

Meta commands (always available)

These commands are always enabled regardless of task or timer command settings (but, like everything else, they stay silent while the bot is muted).

CommandDescription
!dw or !dw helpPosts the built-in 3-step starter guide. It can't be reworded, so it still works if the streamer customized !help. If task commands are off, it says so instead
!dw help <command>Explains one command in plain words with an example, like !dw help task. Takes task, !task, any capitalization, or one of the streamer's aliases; mod-only commands are marked "(mods only)". !dw task works too
!dw commandsSame as !dwhelp
!dwhelpPosts a link to this commands reference page — or, if no docs URL is configured, an inline list of the available commands
!dwcommandsSame as !dwhelp

Active task and focus

When you add your first task with !task, it automatically becomes your active task. Subsequent tasks are added as pending.

  • Your active task is what shows as your current focus in the overlay (a tinted row marked Active) and in !check responses.
  • When you complete a task with !done, the next pending task is automatically activated.
  • Use !focus <number> to manually switch which task is active. The number is the position in your task list (1-based). The old focus stays started if you have room, otherwise it goes back to waiting.

Started tasks (!start / !pause)

Besides your one focus, you can keep up to 2 more tasks started: in progress, but parked. That is 3 going at once.

  • !start 2 starts your task #2. If nothing is going yet, it becomes your focus (Started "…", you. It's your focus now.); otherwise the bot says how many you have going (Started "…", you. 2/3 in progress.).
  • With 3 already going, !start refuses and changes nothing: you already have 3 going. Finish one with !done or pause one with !pause. The limit is checked inside the database write, so two bot pages or two quick messages can never get past it.
  • !start only takes a waiting task; on your focus, a started task or a number you don't have it says Nothing to start there.
  • !pause with no number pauses your focus, like !done with no number finishes it. Your oldest started task takes over (or the first waiting one). !pause 2 pauses task #2 if it's your focus or a started task; anything else gets Nothing to pause. A paused task goes back to waiting and keeps its number.
  • !check adds (+n more started) when you have started tasks, for example you're on "write intro" (+1 more started). This note is built in and works with a reworded Task Check reply.
  • When your focus is done, removed or paused, your oldest started task takes over before any waiting one.
  • On the stream's task overlay, your started tasks sit right under your focus with a small Started label in the username color. Only the focus row is tinted, so viewers can tell what you're on right now from what you have in hand.

Today's plan

!today shows your active task first, followed by the next two tasks in your list, each with its number (Now: #2 … · Next: #1 …). Those are the numbers !done, !edit, !remove, !focus, !start and !pause take. Started tasks are listed right after your focus, as Next. If you have more open tasks, it shows how many remain. It only shows your own tasks; it does not assign due dates or expose another viewer's list.

Command aliases

Broadcasters can remap command names in Bot settings → Commands (/dashboard/bot/commands). For example, you could set add to map to task, so viewers can use !add instead of !task.

An alias can point at any task or timer command (task, done, edit, remove, focus, start, pause, check, today, next, help, clear, timer) — not the meta or moderation commands (!dw, !dwhelp, !dwcommands, !mute, !unmute, !block, !unblock). Each alias and target is a single command name with no arguments, so !ts → !timer start is not supported. Aliases can't reuse a built-in command name, so the built-in commands always keep working regardless of your aliases.

To save requests on Cloudflare's free plan, the bot page only forwards chat lines that start with a DireWork command or one of your aliases; other bots' commands (!lurk, !so) never leave the page. An open bot page picks up new aliases, and new commands from a DireWork update, within an hour; reload the bot page (or refresh the OBS browser source) to use them right away.

Task priority

Tasks created by the broadcaster (stream owner) are pinned to the top of the list. Viewer tasks appear below in the order they were added.

Bot responses

All bot response messages are customizable from Bot settings → Replies (/dashboard/bot/replies). Task and timer command groups can be switched on or off individually on Bot settings → Commands (or the Overview).

Task bot responses

MessageDefaultVariables
Task AddedAdded "{task}" to the pack, {user}.{task}, {user}
No Task AddedYour paws are full, {user}. Finish one with !done before adding another.{user}
No Task ContentTell the pack what you're working on, {user}: !task [task]{user}
No Task to EditNothing to edit there, {user}. Try !edit [number] [new task].{user}
Task EditedUpdated your task to "{task}", {user}.{task}, {user}
Task RemovedRemoved "{task}" from the list, {user}.{task}, {user}
Task NextFinished "{oldTask}". Now on "{newTask}", {user}.{oldTask}, {newTask}, {user}
Admin Delete TasksCleared that viewer's tasks.none
Task DoneNice work, {user}. "{task}" is done.{task}, {user}
Task Check{user}, you're on "{task}".{user}, {task}
Task Check User{user}, {user2} is on "{task}".{user}, {user2}, {task}
No TaskYou don't have a task yet, {user}. Start one with !task [task].{user}
No Task (Other){user}, that viewer doesn't have a task right now.{user}
Not ModSorry {user}, only mods can do that.{user}
Cleared AllCleared every task.none
Cleared DoneCleared the finished tasks.none
Next No ContentWhat's next, {user}? Try !next [task].{user}
Task StartedStarted "{task}", {user}. {count}/{max} in progress.{task}, {user}, {count}, {max}
Task Started as FocusStarted "{task}", {user}. It's your focus now.{task}, {user}
Too Many Going (!start){user}, you already have {max} going. Finish one with !done or pause one with !pause.{user}, {max}
Nothing to StartNothing to start there, {user}. Pick a waiting task from !today, like !start 2.{user}
Task PausedPaused "{task}", {user}. It waits in line until you !start it again.{task}, {user}
Nothing to PauseNothing to pause, {user}. !today shows what you have going.{user}
Followers OnlyOnly followers can add tasks here, {user}. Follow the channel, then try again.{user}
Follow Check FailedI couldn't check your follow just now, {user}. Try again in a minute.{user}
Subscribers OnlyOnly subscribers can add tasks here, {user}.{user}
VIPs and Mods OnlyOnly VIPs and mods can add tasks here, {user}.{user}
Viewer starter guide (!help){user}, here's how it works: 1) Type !task and what you're working on, like !task read 10 pages. 2) Work along with the stream. 3) Type !done when you finish. Need more? Type !dw help{user}

If you never edited a reply, your bot picks up new default wording automatically when you update DireWork. Replies you customized are never touched; use Reset to default on the Bot settings page to get the stock wording back.

Timer bot responses

MessageDefaultVariables
Not RunningThe timer isn't running. Start it first.none
Wrong CommandDidn't catch that. Try !timer start, pause, resume, skip, reset, or eta.none
Timer RunningThe timer is already running.none
Command SuccessDone.none
Cycle WrongPick a cycle count from 1 to 99, like !timer start 4.none
ETAThis phase ends in {phase} · the session ends in {time}{phase}, {time}

The bot replies to !timer commands, but does not announce phase changes on its own. DireWork runs on Cloudflare Workers with no always-on process, so there is nothing to fire a message when a focus block ends — the overlay is what shows the current phase. Editable "focus started" / "break started" / "stream starting" / "timer finished" messages used to exist here but never sent anything, so they were removed.

Message variables reference

VariableDescription
{user}The Twitch display name of the person who ran the command
{user2}The Twitch display name of the target user (e.g., !check @other)
{task}The task text content
{oldTask}The task that was just completed (used in !next)
{newTask}The new task now being tracked (used in !next)
{count}How many tasks the viewer has going after !start (focus + started)
{max}The most tasks one viewer can have going at once (3)
{channel}The Twitch channel name, used as @mention to ping chat
{phase}Time remaining in the current phase, as a relative duration (e.g., 18m)
{time}Time remaining until the whole session ends, as a relative duration (e.g., 1h 55m)