Change user agent
This commit is contained in:
parent
00fd55ed77
commit
4007b7f231
@ -33,7 +33,7 @@ const DEFAULT_FETCH_OPTIONS: any = {
|
|||||||
redirect: "follow",
|
redirect: "follow",
|
||||||
follow: 1,
|
follow: 1,
|
||||||
headers: {
|
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,
|
size: 1024 * 1024 * 1,
|
||||||
compress: true,
|
compress: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user