diff options
author | RiversideRocks <59586759+RiversideRocks@users.noreply.github.com> | 2021-10-21 12:45:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 12:45:10 -0400 |
commit | 6593b03685fddf38140b8e60486f519768f52fe3 (patch) | |
tree | ab3c40d0fcdbe6bb30aa39070721d8f298140ca5 /api | |
parent | Merge pull request #490 from developomp/master (diff) | |
download | server-6593b03685fddf38140b8e60486f519768f52fe3.tar.xz |
Change user agent
Diffstat (limited to 'api')
-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, |