Twitter to Discord bot

Build a Twitter/X to Discord bot with TweetStream WebSocket events, Discord embeds, keyword filters, and retry-safe webhook delivery.

$199/mo for 50 accounts after a 3-day, 5-account trial

Published April 30, 2026 · 1 min read · TweetStream team

A Twitter/X to Discord bot should consume TweetStream WebSocket events, filter high-signal posts, and send retry-safe Discord embeds.

Flow

The core flow is simple: TweetStream receives the post, your service filters it, and Discord receives the formatted alert.

  • Open the TweetStream WebSocket
  • Filter by account, keyword, or detected token
  • Format a Discord embed
  • Send through webhook or bot API

Reliability

Keep Discord delivery outside the WebSocket callback so rate limits and retries do not block source event handling.

Questions

How do I send Twitter alerts to Discord?
For a ready-made option, use the TweetStream bot included with paid plans and trials. It tracks X accounts at standard speed, up to your plan's account limit. To build your own workflow, use WebSocket events on an applicable paid plan or eligible trial and send matching posts to Discord.
Should I use a Discord webhook or bot?
A webhook is simpler for one-way channel alerts. A bot is better when you need commands, permissions, or interactive controls.

Run this workflow with TweetStream

TweetStream delivers posts, deletes, pins, profile and follow changes, and token and OCR enrichment as WebSocket events. Try it with the accounts from this guide.

$199/mo for 50 accounts after a 3-day, 5-account trial