AI AGENTS

Discord Channel Toxicity Hourly Sweep

On an hourly schedule, the agent samples recent messages across busy Discord channels, scores them for toxicity, logs incidents to Postgres.

CategoryAI Agents
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHourly schedule fires
  • ActionFetch recent messages from watched channelsDiscordDiscord
  • ActionAgent scores conversation toxicity
  • ActionLog flagged incidents to PostgresPostgreSQLPostgres
  • LogicBranch on channel heat threshold
  • OutputOpen mod thread with draft warningsDiscordDiscord

What it does

Proactively patrols active channels instead of waiting for reports. Each hour the agent pulls recent messages from your high-traffic channels, scores the conversation for toxicity and pile-ons, records flagged incidents, and when a channel gets heated it opens a mod thread with draft warnings for the worst actors.

When to use it

When harmful behavior often goes unreported because no one bothers to flag it, or when a single channel can boil over fast during drama. Use this as an always-on patrol that catches rising toxicity early and gives mods a ready-to-act thread before things spiral.

How it works

  1. 1An hourly schedule fires the sweep.
  2. 2The agent fetches recent messages from the configured set of Discord channels.
  3. 3It scores each channel's conversation for toxicity and identifies the worst messages.
  4. 4Flagged incidents are written to Postgres for the audit trail.
  5. 5A branch checks whether any channel crossed the heat threshold; if so, the agent opens a mod thread with draft warnings; otherwise the sweep ends quietly.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect DiscordCommunity channels + voice + bots.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.