mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
Fix Util.js : fetchRecommendedShards() (#1532)
* Fix Util.js : fetchRecommendedShards()
I'm not sure who thought this was a good idea, but by removing gateway, it broke fetchRecommendedShards() in Util.js as it uses ${Constants.Endpoints.gateway.bot}.
* Update Constants.js
* Update Constants.js
* Update Util.js
* Update Constants.js
This commit is contained in:
@@ -134,6 +134,7 @@ exports.Endpoints = {
|
||||
};
|
||||
},
|
||||
invite: code => `https://discord.gg/${code}`,
|
||||
botGateway: '/gateway/bot',
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user