This commit is contained in:
Puyodead1 committed 2023-04-13 15:06:21 -04:00
1 parent 6347a77a79
commit 777e7208dc
10 files changed
+48 -29

No files matched your search

@@ -0,0 +1,10 @@
export interface GatewayBotResponse {
url: string;
shards: number;
session_start_limit: {
total: number;
remaining: number;
reset_after: number;
max_concurrency: number;
};
}
@@ -0,0 +1,3 @@
export interface GatewayResponse {
url: string;
}
@@ -0,0 +1,8 @@
import { PublicConnectedAccount, UserPublic } from "../../entities";
export interface UserProfileResponse {
user: UserPublic;
connected_accounts: PublicConnectedAccount;
premium_guild_since?: Date;
premium_since?: Date;
}
@@ -0,0 +1,9 @@
export interface UserRelationsResponse {
object: {
id?: string;
username?: string;
avatar?: string;
discriminator?: string;
public_flags?: number;
};
}
+4
View File
@@ -9,7 +9,11 @@ export * from "./CaptchaRequiredResponse";
export * from "./ChannelInvitesResponse";
export * from "./ChannelPinsResponse";
export * from "./ChannelWebhooksResponse";
export * from "./GatewayBotResponse";
export * from "./GatewayResponse";
export * from "./GenerateRegistrationTokensResponse";
export * from "./LocationMetadataResponse";
export * from "./TokenResponse";
export * from "./UserProfileResponse";
export * from "./UserRelationsResponse";
export * from "./WebhookCreateResponse";