Files
zunda-bot/Sources/DiscordKit/Models.swift

18 lines
362 B
Swift

import Foundation
#if canImport(FoundationNetowrking)
import FoundationNetworking
#endif
public struct GetGatewayResponse: Codable {
let url: URL
let shards: Int
let session_start_limit: SessionStartLimit
}
public struct SessionStartLimit: Codable {
let total: Int
let remaining: Int
let reset_after: Int
let max_concurrency: Int
}