mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
BREAKING CHANGE: The `rest` option in the `WebSocketManager` constructor has been removed. Pass a `fetchGatewayInformation` function instead.
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import type { RESTGetAPIGatewayBotResult } from 'discord-api-types/v10';
|
|
|
|
export const mockGatewayInformation: RESTGetAPIGatewayBotResult = {
|
|
shards: 1,
|
|
session_start_limit: {
|
|
max_concurrency: 3,
|
|
reset_after: 60,
|
|
remaining: 3,
|
|
total: 3,
|
|
},
|
|
url: 'wss://gateway.discord.gg',
|
|
};
|