Discordbot
What is Discordbot?
Discordbot is a specialized web fetcher operated by Discord, the popular communication platform. It functions as a metadata collector that generates link previews when users share URLs in Discord channels and conversations. The bot identifies itself in server logs with the user agent string Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)
, which includes a verification URL for website administrators to confirm its authenticity.
Unlike comprehensive web crawlers, Discordbot is a lightweight metadata retriever with limited capabilities. It doesn't execute JavaScript, process CSS, render images, or manage cookies and sessions. Instead, it focuses on parsing HTML meta elements and Open Graph protocol tags to create informative previews that enhance the Discord user experience.
Why is Discordbot crawling my site?
Discordbot visits your website when Discord users share links to your content in their conversations. This on-demand activation means Discordbot isn't continuously crawling your site—it only appears when triggered by user activity. The bot typically seeks basic metadata such as titles, descriptions, and image URLs to generate rich embeds that make shared links more engaging and informative.
The frequency of Discordbot visits directly correlates with how often your content is shared across Discord's platform. Popular websites or those with active Discord communities may see more frequent visits. These visits are legitimate and authorized as part of Discord's service functionality, helping to improve user experience by providing context for shared links.
What is the purpose of Discordbot?
Discordbot exists to enhance communication on Discord by transforming plain URL shares into rich, visual previews. When users paste a link into Discord, the bot retrieves metadata from the target website to display a preview card containing the page title, description, and featured image when available.
This functionality benefits both Discord users and website owners. For users, it provides immediate context about shared links without requiring them to leave the platform. For website owners, these enhanced previews can significantly increase engagement—studies show rich previews boost click-through rates by 40-60% compared to plain text links. The previews also maintain your brand's visual identity when your content is shared across Discord's extensive user base.
Discord stores this metadata temporarily to avoid repeatedly fetching the same information, implementing caching mechanisms to reduce unnecessary requests to your servers.
How do I block Discordbot?
While Discordbot respects standard robots.txt directives, blocking it may significantly impact how your content appears when shared on Discord. If you decide to restrict access, you can add the following to your robots.txt file:
User-agent: Discordbot
Disallow: /
This configuration prevents Discordbot from accessing any part of your website. For more selective blocking, you can restrict access to specific directories:
User-agent: Discordbot
Disallow: /private/
Disallow: /restricted-content/
Be aware that blocking Discordbot comes with notable consequences. When users share your links on Discord, they'll see basic URL displays instead of rich previews with your branding and contextual information. This often results in reduced visibility and lower click-through rates from Discord users.
Instead of complete blocking, consider implementing rate limiting or optimizing your meta tags specifically for Discord's display requirements. This approach allows you to maintain control over your server resources while still benefiting from enhanced visibility when your content is shared across Discord's platform.
Operated by
Data fetcher
AI model training
Acts on behalf of user
Obeys directives
User Agent
Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)