🔧 build

This commit is contained in:
Flam3rboy
2021-02-05 22:01:01 +01:00
parent 9b7f4e2b66
commit ea41892fef
82 changed files with 1437 additions and 21 deletions
+19
View File
@@ -0,0 +1,19 @@
export interface Channel {
id: bigint;
guild_id: bigint;
last_message_id: string;
last_pin_timestamp: string;
name: string;
nsfw: boolean;
parent_id: bigint;
position: number;
rate_limit_per_user: number;
topic: string | null;
type: number;
permission_overwrites: {
allow: bigint;
deny: bigint;
id: bigint;
type: number;
}[];
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Channel.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../src/models/Channel.ts"],"names":[],"mappings":""}
+12
View File
@@ -0,0 +1,12 @@
export interface Emoji {
allNamesString: string;
animated: boolean;
available: boolean;
guildId: bigint;
id: bigint;
managed: boolean;
name: string;
require_colons: boolean;
url: string;
roles: [];
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Emoji.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Emoji.js","sourceRoot":"","sources":["../../src/models/Emoji.ts"],"names":[],"mappings":""}
+52
View File
@@ -0,0 +1,52 @@
import { Channel } from "./Channel";
import { Emoji } from "./Emoji";
import { Member } from "./Member";
import { Role } from "./Role";
export interface Guild {
id: bigint;
name: string;
icon: string;
icon_hash: string;
splash: string;
discovery_splash: string;
owner: boolean;
owner_id: bigint;
permissions: string;
region: string;
afk_channel_id: bigint;
afk_timeout: number;
widget_enabled: boolean;
widget_channel_id: bigint;
verification_level: number;
default_message_notifications: number;
explicit_content_filter: number;
roles: Role[];
emojis: Emoji[];
features: [];
mfa_level: number;
application_id: bigint;
system_channel_id: bigint;
system_channel_flags: number;
rules_channel_id: bigint;
joined_at: number;
large: boolean;
unavailable: boolean;
member_count: number;
voice_states: [];
members: Member[];
channels: Channel[];
presences: [];
max_presences: number;
max_members: number;
vanity_url_code: string;
description: string;
banner: string;
premium_tier: number;
premium_subscription_count: number;
preferred_locale: string;
public_updates_channel_id: bigint;
max_video_channel_users: number;
approximate_member_count: number;
approximate_presence_count: number;
welcome_screen: [];
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Guild.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Guild.js","sourceRoot":"","sources":["../../src/models/Guild.ts"],"names":[],"mappings":""}
+30
View File
@@ -0,0 +1,30 @@
export interface Invite {
code: string;
guild: {
id: bigint;
name: string;
splash: string;
description: string;
icon: string;
features: Object;
verification_level: number;
};
channel: {
id: bigint;
name: string;
type: number;
};
inviter: {
id: bigint;
username: string;
avatar: string;
discriminator: number;
};
target_user: {
id: bigint;
username: string;
avatar: string;
discriminator: number;
};
target_user_type: number;
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Invite.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Invite.js","sourceRoot":"","sources":["../../src/models/Invite.ts"],"names":[],"mappings":""}
+13
View File
@@ -0,0 +1,13 @@
import { Role } from "./Role";
import { User } from "./User";
export interface Member {
user: User;
nick: string;
roles: Role[];
joined_at: number;
premium_since: number;
deaf: boolean;
mute: boolean;
pending: boolean;
permissions: string;
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Member.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Member.js","sourceRoot":"","sources":["../../src/models/Member.ts"],"names":[],"mappings":""}
+9
View File
@@ -0,0 +1,9 @@
export interface Role {
color: number;
hoist: boolean;
managed: boolean;
mentionable: boolean;
name: string;
permissions: bigint;
position: number;
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Role.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../src/models/Role.ts"],"names":[],"mappings":""}
+60
View File
@@ -0,0 +1,60 @@
export interface User {
id: bigint;
username: string;
discriminator: string;
avatar: string | null;
bot: boolean;
system: boolean;
mfa_enabled: boolean;
created_at: number;
verified: boolean;
email: string;
flags: bigint;
hash: string;
valid_tokens_since: number;
user_settings: UserSettings;
}
export interface UserSettings {
afk_timeout: number;
allow_accessibility_detection: boolean;
animate_emoji: boolean;
animate_stickers: number;
contact_sync_enabled: boolean;
convert_emoticons: boolean;
custom_status: {
emoji_id: bigint | null;
emoji_name: string | null;
expires_at: number | null;
text: string | null;
};
default_guilds_restricted: boolean;
detect_platform_accounts: boolean;
developer_mode: boolean;
disable_games_tab: boolean;
enable_tts_command: boolean;
explicit_content_filter: number;
friend_source_flags: {
all: boolean;
};
gif_auto_play: boolean;
guild_folders: {
color: number;
guild_ids: bigint[];
id: number;
name: string;
}[];
guild_positions: bigint[];
inline_attachment_media: boolean;
inline_embed_media: boolean;
locale: string;
message_display_compact: boolean;
native_phone_integration_enabled: boolean;
render_embeds: boolean;
render_reactions: boolean;
restricted_guilds: bigint[];
show_current_game: boolean;
status: "online" | "offline" | "dnd" | "idle";
stream_notifications_enabled: boolean;
theme: "dark" | "white";
timezone_offset: number;
}
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=User.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../src/models/User.ts"],"names":[],"mappings":""}