summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorRiversideRocks <59586759+RiversideRocks@users.noreply.github.com>2021-10-21 12:45:10 -0400
committerGitHub <noreply@github.com>2021-10-21 12:45:10 -0400
commit6593b03685fddf38140b8e60486f519768f52fe3 (patch)
treeab3c40d0fcdbe6bb30aa39070721d8f298140ca5 /api
parentMerge pull request #490 from developomp/master (diff)
downloadserver-6593b03685fddf38140b8e60486f519768f52fe3.tar.xz
Change user agent
Diffstat (limited to 'api')
-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,