forked from Galactic/galactic-bot
domain update
This commit is contained in:
parent
4e784a68f5
commit
6b3ddbc985
@ -80,7 +80,7 @@ class Util {
|
||||
|
||||
static fetchRecommendedShards(token, guildsPerShard = 1000) {
|
||||
if(!token) throw new Error("[util] Token missing.");
|
||||
return fetch("https://discordapp.com/api/v7/gateway/bot", {
|
||||
return fetch("https://discord.com/api/v7/gateway/bot", {
|
||||
method: 'GET',
|
||||
headers: { Authorization: `Bot ${token.replace(/^Bot\s*/iu, '')}` }
|
||||
}).then((res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user