From 30b32e35a6d6854ed85fc4c4a96a4b4068c2e20d Mon Sep 17 00:00:00 2001 From: Pringles <80323633+PringlePot@users.noreply.github.com> Date: Sun, 17 Jul 2022 13:39:48 +0200 Subject: [PATCH] Add discordbot test --- ua_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ua_test.go b/ua_test.go index ddb97b4..14cfc08 100644 --- a/ua_test.go +++ b/ua_test.go @@ -70,6 +70,7 @@ var testTable = [][]string{ {"facebookexternalhit/1.1", ua.FacebookExternalHit, "1.1", "bot", ""}, {"Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html", "SemrushBot", "7~bl", "bot", ""}, {"Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268", "YandexBot", "3.0", "bot", ""}, + {"Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)", "Discordbot", "2.0", "bot", ""}, // Brave {"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/87.0.4280.101 Safari/537.36", ua.Chrome, "87.0.4280.101", "desktop", ua.Linux},