Discordbot
Discord web crawler for link previews
About this crawler
Discordbot is a web crawler identified by the regular-expression pattern Discordbot in the User-Agent request header. It is categorised as social-preview. Use the regex above to detect, log, allow, or block Discordbot traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.46%
Technical details
- Name
- Discordbot
- Pattern
Discordbot- Tags
- social-preview
- Reference
- https://discord.com/
- Added
- 2017/09/22
- rDNS suffixes
.discord.com,.discordapp.com- Instances
- 1 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely Discordbot with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.
.discord.com.discordapp.com
Sample User-Agent strings
Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)
Block this crawler
robots.txt — disallow Discordbot:
User-agent: Discordbot
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Discordbot [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "Discordbot") {
return 403;
}
← back to all crawlers