invisit
Bot directory · Link previews

Discordbot

Discordbot is a link preview fetcher run by Discord. It visits a link when someone shares it in a Discord message, to build the preview card. Discord says it does not continuously scan or crawl websites.

.mdllms.txt
Run by
Discord
Kind
Link preview fetcher
robots.txt token
None documented
Verify by
Published IP ranges

What is Discordbot?

It visits a link when someone shares it in a Discord message, to build the preview card. Discord says it does not continuously scan or crawl websites.

Fetches a page when someone shares its link, to draw the preview card. Blocking it breaks your previews in that app.

Discord says to match only the word Discordbot, since the rest of the string may change. Its page does not mention robots.txt.

Discord’s documentation

Discordbot user agent

Discord documents this user agent for Discordbot. Version numbers in it change over time, so match on the name, not the whole string.

Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)

Should you block Discordbot?

Allow it. Blocking it breaks the preview card when someone shares your link.

How to block Discordbot in robots.txt

Discord documents no robots.txt token for Discordbot that we could confirm, so we don’t suggest one here. Block it at your server or firewall by user agent instead.

Build a robots.txt for AI bots

How to verify a request is really Discordbot

Anyone can send any user agent, so the string alone proves nothing.

Discord publishes the IP ranges Discordbot crawls from. A request that claims to be Discordbot from any other address is not Discordbot.

Discordbot IP ranges

See when Discordbot reads your site

Bots don’t run JavaScript analytics, so a script tag never sees them. invisit records crawler reads on the server instead, through its server SDK or a Cloudflare Worker, and shows which bots read which pages, next to your visitors.

Track crawlers with invisit

Checked against Discord’s own documentation on . Something changed? Write to help@invisit.dev.

Discordbot: common questions

What is Discordbot?

Discordbot is a link preview fetcher run by Discord. It visits a link when someone shares it in a Discord message, to build the preview card. Discord says it does not continuously scan or crawl websites.

Is Discordbot safe to block?

Allow it. Blocking it breaks the preview card when someone shares your link.

How do I block Discordbot?

Discord documents no robots.txt token for it that we could confirm, so block it at your server or firewall by its user agent.