summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-21 13:28:57 -0400
committerGitHub <noreply@github.com>2021-10-21 13:28:57 -0400
commit4901d5040980608ae9b9ae4b45641e1031a94c81 (patch)
treeab3c40d0fcdbe6bb30aa39070721d8f298140ca5
parentMerge pull request #490 from developomp/master (diff)
parentChange user agent (diff)
downloadserver-4901d5040980608ae9b9ae4b45641e1031a94c81.tar.xz
Merge pull request #493 from RiversideRocks/patch-1
Change user agent
-rw-r--r--api/src/util/Message.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/Message.ts b/api/src/util/Message.ts
index 789178b6..4ba93edd 100644
--- a/api/src/util/Message.ts
+++ b/api/src/util/Message.ts
@@ -33,7 +33,7 @@ const DEFAULT_FETCH_OPTIONS: any = {
 	redirect: "follow",
 	follow: 1,
 	headers: {
-		"user-agent": "Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)"
+		"user-agent": "Mozilla/5.0 (compatible; Fosscord/1.0; +https://github.com/fosscord/fosscord)"
 	},
 	size: 1024 * 1024 * 1,
 	compress: true,