diff options
author | Samuel <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-21 13:28:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 13:28:57 -0400 |
commit | 4901d5040980608ae9b9ae4b45641e1031a94c81 (patch) | |
tree | ab3c40d0fcdbe6bb30aa39070721d8f298140ca5 | |
parent | Merge pull request #490 from developomp/master (diff) | |
parent | Change user agent (diff) | |
download | server-4901d5040980608ae9b9ae4b45641e1031a94c81.tar.xz |
Merge pull request #493 from RiversideRocks/patch-1
Change user agent
-rw-r--r-- | api/src/util/Message.ts | 2 |
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, |