Roadie

Delete the message action

Automation · 2 min read ·

Deletes the chat message that started the run. Learn its setup and a link filter recipe in Roadie Automation.

Delete the message is the twitch.delete_message Automation action. It deletes the chat message that started the run, for everyone in chat.

Availability: Use it on a trigger a chat message starts, such as Chat message. On any other trigger there is no message to delete, so the step is skipped and the run log says so. Before you start: Deleting a message needs Twitch’s OK to manage your chat messages for you.

Options and starting values

This action has no action-specific options. It always deletes the message that started the run.

Twitch’s own Block hyperlinks setting removes every link from viewers, but it has no list of sites you allow. This recipe does:

  1. Open Automation, then Events, and add a trigger for Chat message.
  2. Under Only when, add three checks that must all be true:
    • the message matches https?://|www\. (it has a link);
    • the message does not match spotify\.com|twitch\.tv (put the sites you allow here, split with |);
    • the person is not a moderator or VIP (use the role check).
  3. Add the Delete the message step.
  4. Optional: add Send a chat line after it, such as @{user} links need a mod's OK here.

Banned words

For words, use Twitch’s own Blocked terms and AutoMod (Creator Dashboard, Settings, Moderation). Twitch stops those messages before anyone sees them, which Roadie cannot do. Delete the message removes a message after it shows.

In a flow

Add Delete the message after the checks that decide a message must go.

In tests default: New Delete the message steps start at Skip. A test has no real chat message, so there is nothing to delete.

Values for later steps

This action does not declare a named output for later steps.

If the step fails

The run log records the failed step and its reason. Twitch does not delete a message that is already gone, or one from a moderator or the streamer. The step’s Stop the run if it fails setting decides whether later steps run.

Browse all actions · Use fill-ins