# Discordbot

> Discordbot fetches a page when a person shares its link in Discord, to build the preview card. Discord does not say whether it follows robots.txt.

Canonical: https://promptlyfound.com/crawlers/discordbot
Updated: 2026-11-27

## Short answer

Discordbot fetches a page when a person shares its link in a Discord message, and builds the preview card from the page's tags. **Discord does not say whether Discordbot follows robots.txt, so the effect of a Disallow rule is not confirmed.** A server that refuses the request gets no preview. Discord's developer docs give the user agent but no way to verify a request.

## Key findings

- Discord says a link preview is what shows up in Discord when a link to a website is pasted into a chat. [1]
- Discord makes a single GET request for the shared URL and reads the HTML. A preview appears only for a 2xx response that finishes within 10 seconds, and Discord does not run scripts. [1]
- Discord fetches pages with the user agent Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com) and linked JSON with Discordbot/2.0. [2]
- Discord caches previews for about 30 minutes. [1]

## What blocking it does

The effect of a robots.txt rule is not confirmed. Discord's [Link Previews documentation](https://docs.discord.com/developers/link-previews/overview) does not mention robots.txt.[1]

Discordbot runs when a person pastes a link into a Discord chat. Discord then fetches the page and reads its tags to build the preview card.[1]

Discord makes a single GET request for the shared URL and reads the HTML. A preview appears only for a 2xx response with an HTML content type, and the whole fetch must finish within 10 seconds. Discord does not run scripts, so it never sees tags that a client-side script adds.[1] A server that refuses Discordbot gets no preview for its links.

![Discord's Link Previews page, with the single GET request for the shared URL highlighted](https://promptlyfound.com/images/crawlers/discordbot/discord-docs-link-previews-fetch.webp)
*Discord makes one GET request for the shared URL and shows a preview only for a 2xx HTML response that loads within 10 seconds. Screenshot of [Link Previews](https://docs.discord.com/developers/link-previews/overview), November 27, 2026, with highlights added.*

## robots.txt rules

This rule asks Discordbot to stay out. Discord has not said that the bot reads it:

```
User-agent: Discordbot
Disallow: /
```

To change the preview, edit the page's Open Graph, Twitter Card or oEmbed tags. Discord caches previews for about 30 minutes. To see a change at once, share the URL with a new query string, or open the page in Discord's [Embed Debugger](https://discord.com/developers/embeds).[1]

## Verify a request

[Discord's Component Embeds page](https://docs.discord.com/developers/link-previews/component-embeds) gives the user agent for page fetches. Discord fetches linked JSON files with the shorter string `Discordbot/2.0`.[2]

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

![Discord's Component Embeds prerequisites, with the Discordbot/2.0 token highlighted in both user agents](https://promptlyfound.com/images/crawlers/discordbot/discord-docs-component-embeds-user-agent.webp)
*Discord fetches pages with the full Discordbot user agent and linked JSON with Discordbot/2.0. Screenshot of [Component Embeds](https://docs.discord.com/developers/link-previews/component-embeds), November 27, 2026, with highlights added.*

Discord's developer docs do not give an IP list or a DNS check for Discordbot. Any client can send this user agent, so it does not prove that a request comes from Discord.

## Sources

1. Link Previews. Discord. https://docs.discord.com/developers/link-previews/overview
2. Component Embeds. Discord. https://docs.discord.com/developers/link-previews/component-embeds

---

This is a plain-text copy of https://promptlyfound.com/crawlers/discordbot from Promptly Found. The web page is the canonical version and includes the charts.
