DiscordBot is a bot in the link preview bots category, operated by Discord, Inc..
The discordBot scrapes URLs that are shared within the Discord chat platform. This is done to generate contextual previews of the content, including titles, descriptions, and images.
Link preview bots fetch a page when someone shares its URL in a chat app or social network, to build the preview card. Blocking them breaks your link previews, so keep them allowed but leave them out of analytics and ad requests.
DiscordBot identifies itself with this user agent string:
Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)Anyone can copy a user agent string. Transfon Security also checks where each request comes from, so a request that claims to be a known crawler but comes from the wrong network is treated as a fake, not as the real crawler.
We have not confirmed whether DiscordBot follows robots.txt. Add a rule, then check your logs to see that it stopped. robots.txt is a plain text file at the root of your domain, such as https://example.com/robots.txt.
User-agent: Discordbot Disallow: /
User-agent: Discordbot Disallow: /private/ Disallow: /search
User-agent: Discordbot Allow: /blog/ Disallow: /
User-agent: Discordbot Allow: / User-agent: * Disallow: /
User-agent: Discordbot group, DiscordBot ignores your User-agent: * rules, so repeat any that should still apply.Discordbot from DiscordBot's user agent; check Discord, Inc.'s own documentation if it publishes a different robots.txt name.Treat robots.txt as a statement of your policy, and enforce it where requests arrive.
DiscordBot fetches pages when your links are shared or syndicated. Keep it allowed so previews and feeds work, but leave it out of page views and ad requests.
Transfon Security for publishersWhen ads or posts are shared, DiscordBot fetches the landing page. Those hits are not clicks, so keep them out of campaign reports.
Transfon Security for advertisersProduct links shared in chats and feeds are fetched by DiscordBot. Keep it allowed so previews show the right image and price.
Transfon Security for e-commerceAllow DiscordBot on public pages so shared links preview well, and keep it off the app.
Transfon Security for SaaS and APIsrobots.txt is a request, not an enforcement. Transfon Security shows DiscordBot by name in the Top Bots report, so you can see how often it visits and which pages it reads. Block or allow it with a User Agent rule, or slow it down with a rate limit decision rule.
Transfon Security
DiscordBot is a bot in the link preview bots category, operated by Discord, Inc.. The discordBot scrapes URLs that are shared within the Discord chat platform. This is done to generate contextual previews of the content, including titles, descriptions, and images.
We have not confirmed whether DiscordBot follows robots.txt. Add a robots.txt rule, then check your logs to see that it stopped, and block it by user agent if it did not.
Add "User-agent: Discordbot" followed by "Disallow: /" to the robots.txt file at the root of your site. To enforce it, block requests whose user agent contains "Discordbot/" at your WAF. In Transfon Security that is one User Agent block rule.
No. robots.txt is voluntary, so DiscordBot may not follow it, and anyone can send DiscordBot's user agent, so a fake DiscordBot ignores your rule. Enforce the rule where requests arrive, at your WAF, and check the source network.
Link preview bots fetch a page when someone shares its URL in a chat app or social network, to build the preview card. Blocking them breaks your link previews, so keep them allowed but leave them out of analytics and ad requests.
Transfon Security identifies every bot in this directory in your traffic reports, flags fake search crawlers, and lets you allow, block or rate limit each bot.
Privacy, security, monetization, and performance insights. A few emails a month, no spam.