diff --git a/dist/Client.d.ts b/dist/Client.d.ts deleted file mode 100644 index 58700627..00000000 --- a/dist/Client.d.ts +++ /dev/null @@ -1,274 +0,0 @@ -export default Client; -/** - * A client user, which is able to handle multiple shards. - * @extends {TypedEmitter<{ - * "ready": (shardGuilds: String[]) => void - * "resumed": () => void - * "guildCreate": (guild: Guild) => void - * "guildDelete": (guild: Guild) => void - * "guildUpdate": (oldGuild: Guild, newGuild: Guild) => void - * "messageCreate": (message: Message) => void - * "messageUpdate": (oldMessage: Message, newMessage: Message) => void - * "messageDelete": (message: Message) => void - * "messageDeleteBulk": (messages: Message[]) => void - * "guildAuditLogEntryCreate": (auditLog: AuditLog) => void - * "guildBanAdd": (bannedUser: User) => void - * "guildBanRemove": (unbannedUser: User) => void - * "guildMemberAdd": (member: Member) => void - * "guildMemberUpdate": (oldMember: Member, newMember: Member) => void - * "guildMemberRemove": (member: Member) => void - * "buttonClick": (interaction: ButtonClick) => void - * "menuSelect": (interaction: OptionSelect) => void - * "modalResponse": (interaction: ModalResponse) => void - * "slashCommand": (interaction: SlashCommand) => void - * "slashCommandAutocomplete": (interaction: SlashCommand) => void - * "voiceStateUpdate": (oldVoiceState: VoiceState, newVoiceState: VoiceState) => void - * "voiceChannelStatusUpdate": (data: Object) => void - * "channelCreate": (channel: TextChannel | VoiceChannel | CategoryChannel) => void - * "channelUpdate": (oldChannel: TextChannel | VoiceChannel | CategoryChannel, newChannel: TextChannel | VoiceChannel | CategoryChannel) => void - * "channelDelete": (channel: TextChannel | VoiceChannel | CategoryChannel) => void - * "channelPinsUpdate": (data: Object) => void - * "threadCreate": (thread: Thread) => void - * "threadUpdate": (oldThread: Thread, newThread: Thread) - * "threadDelete": (thread: Thread) => void - * "threadListSync": (threads: Thread[]) => void - * "inviteCreate": (invite: Invite) => void - * "inviteDelete": (data: Object, invite: Invite) => void - * "roleCreate": (role: Role) => void - * "roleUpdate": (oldRole: Role, newRole: Role) => void - * "roleDelete": (role: Role) => void - * "emojiCreate": (emoji: Emoji) => void - * "emojiUpdate": (oldEmoji: Emoji, newEmoji: Emoji) => void - * "emojiDelete": (emoji: Emoji) => void - * "entitlementCreate": (entitlement: Object) => void - * "entitlementUpdate": (entitlement: Object) => void - * "entitlementDelete": (entitlement: Object) => void - * "guildScheduledEventCreate": (scheduledEvent: ScheduledEvent) => void - * "guildScheduledEventUpdate": (oldScheduledEvent: ScheduledEvent, newScheduledEvent: ScheduledEvent) => void - * "guildScheduledEventDelete": (scheduledEvent: ScheduledEvent) => void - * "guildScheduledEventUserAdd": (data: Object, user: User) => void - * "guildScheduledEventUserRemove": (data: Object, user: User) => void - * "initialised": () => void - * "messagePollVoteAdd": (data: Object) => void - * "messagePollVoteRemove": (data: Object) => void - * "messageReactionAdd": (data: Object) => void - * "messageReactionRemove": (data: Object) => void - * "webhooksUpdate": (data: Object) => void - * }>} - */ -declare class Client extends TypedEmitter<{ - ready: (shardGuilds: string[]) => void; - resumed: () => void; - guildCreate: (guild: Guild) => void; - guildDelete: (guild: Guild) => void; - guildUpdate: (oldGuild: Guild, newGuild: Guild) => void; - messageCreate: (message: Message) => void; - messageUpdate: (oldMessage: Message, newMessage: Message) => void; - messageDelete: (message: Message) => void; - messageDeleteBulk: (messages: Message[]) => void; - guildAuditLogEntryCreate: (auditLog: AuditLog) => void; - guildBanAdd: (bannedUser: User) => void; - guildBanRemove: (unbannedUser: User) => void; - guildMemberAdd: (member: Member) => void; - guildMemberUpdate: (oldMember: Member, newMember: Member) => void; - guildMemberRemove: (member: Member) => void; - buttonClick: (interaction: ButtonClick) => void; - menuSelect: (interaction: OptionSelect) => void; - modalResponse: (interaction: ModalResponse) => void; - slashCommand: (interaction: SlashCommand) => void; - slashCommandAutocomplete: (interaction: SlashCommand) => void; - voiceStateUpdate: (oldVoiceState: VoiceState, newVoiceState: VoiceState) => void; - voiceChannelStatusUpdate: (data: any) => void; - channelCreate: (channel: TextChannel | VoiceChannel | CategoryChannel) => void; - channelUpdate: (oldChannel: TextChannel | VoiceChannel | CategoryChannel, newChannel: TextChannel | VoiceChannel | CategoryChannel) => void; - channelDelete: (channel: TextChannel | VoiceChannel | CategoryChannel) => void; - channelPinsUpdate: (data: any) => void; - threadCreate: (thread: Thread) => void; - threadUpdate: (oldThread: Thread, newThread: Thread) => "threadDelete"; -}> { - /** - * Creates the client and sets the default options. - * @constructor - * @param {Object?} options The options to pass to the client. - * @param {Boolean?} options.cacheMessages Whether to cache messages. - * @param {Boolean?} options.cacheUsers Whether to cache users. - * @param {Boolean?} options.cacheMembers Whether to cache members. - * @param {Boolean?} options.cacheChannels Whether to cache channels. - * @param {Boolean?} options.cacheGuilds Whether to cache guilds. - * @param {Boolean?} options.cacheVoiceStates Whether to cache voice states. - * @param {Boolean?} options.cacheRoles Whether to cache roles. - * @param {Boolean?} options.cacheScheduledEvents Whether to cache scheduled events. - * @param {Boolean?} options.cacheEmojis Whether to cache emojis. - * @param {Boolean?} options.cacheInvites Whether to cache invites. - * @param {Number?} options.defaultMessageExpiry The default expiry time for messages. - * @param {Number?} options.defaultUserExpiry The default expiry time for users. - * @param {Number} options.intents The intents to use when connecting. - * @param {Number?} options.totalShards The total number of shards to manage. - * @param {Array?} options.shardIds The ids of the shards to manage. - * @param {Object?} options.sessionData The session data for the client. - * @param {Object?} options.initCache The initial cache data for the client. - * @param {Function?} options.softRestartFunction The function to call when a soft restart is needed. - * @throws {TypeError} - * @public - * @method - */ - constructor({ cacheMessages, cacheUsers, cacheMembers, cacheChannels, cacheGuilds, cacheVoiceStates, cacheRoles, cacheScheduledEvents, cacheEmojis, cacheInvites, defaultMessageExpiry, defaultUserExpiry, intents, totalShards, shardIds, sessionData, initCache, softRestartFunction, }?: any | null); - /** - * The client user. - * @type {User?} - */ - user: User | null; - /** - * The ids of the shards that this client is managing. - * @type {Array} - * @readonly - * @public - */ - public readonly get shardIds(): number[]; - /** - * The total number of shards that this client is managing. - * @type {Number} - * @readonly - * @public - */ - public readonly get totalShards(): number; - /** - * The intents that this client is using. - * @type {Number} - * @readonly - * @public - */ - public readonly get intents(): number; - /** - * The user manager for this client. - * @type {UserManager} - * @readonly - * @public - */ - public readonly get users(): UserManager; - /** - * The guild manager for this client. - * @type {GuildManager} - * @readonly - * @public - */ - public readonly get guilds(): GuildManager; - /** - * The function to call when a soft restart is needed. - * @public - * @method - * @returns {void} - */ - public softRestartFunction(): void; - /** - * Stops all shards. - * @public - * @method - * @returns {void} - */ - public halt(): void; - /** - * Monitors the current process. - * @public - * @method - * @returns {Object} - */ - public checkProcess(): any; - /** - * Outputs a debug message if NODE_ENV=development. - * @param {Number} status The debug status level. - * @param {String} message The message to emit. - * @returns {void} - * @method - * @public - */ - public _emitDebug(status: number, message: string): void; - /** - * Counts how many items are in each cache. - * @returns {Object} - * @public - * @method - */ - public getCacheCounts(): any; - /** - * Returns the cache options for this client. - * @type {GluonCacheOptions} - * @readonly - * @public - */ - public readonly get _cacheOptions(): GluonCacheOptions; - /** - * Returns the global guild cache options for this client. - * @type {GuildCacheOptions} - * @readonly - * @public - */ - public readonly get _defaultGuildCacheOptions(): GuildCacheOptions; - /** - * Counts how many members are in all of Quark's servers. - * @returns {Number} - * @public - * @method - */ - public getMemberCount(): number; - /** - * Bundles all guilds. - * @returns {Array} - * @public - * @method - */ - public bundleCache(): Array; - /** - * Registers commands, overwriting all previous ones. - * @param {Array} commands Array of commands to register. - * @returns {Array} - * @see {@link https://discord.com/developers/docs/interactions/application-commands#registering-a-command} - * @see {@link https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands} - * @public - * @method - * @async - * @throws {TypeError} - */ - public registerCommands(commands: Array): Array; - /** - * Sets the bot's status across all shards. - * @param {Object} status Status options. - * @param {String} status.name The bot's new status. - * @param {Number} status.type The type of status. - * @param {String} status.status The bot's status. - * @param {Boolean} status.afk Whether the bot is afk. - * @param {Number} status.since The time since the bot has been afk. - * @returns {void} - * @public - * @method - * @throws {TypeError} - */ - public setStatus({ name, type, status, afk, since }?: { - name: string; - type: number; - status: string; - afk: boolean; - since: number; - }): void; - /** - * Initiates the login sequence - * @param {String} token The authorization token - * @returns {void} - * @public - * @method - * @throws {TypeError} - */ - public login(token: string): void; - request: BetterRequestHandler; - #private; -} -import Guild from "./structures/Guild.js"; -import User from "./structures/User.js"; -import { TypedEmitter } from "tiny-typed-emitter"; -import UserManager from "./managers/UserManager.js"; -import GuildManager from "./managers/GuildManager.js"; -import GluonCacheOptions from "./managers/GluonCacheOptions.js"; -import GuildCacheOptions from "./managers/GuildCacheOptions.js"; -import Command from "./util/builder/commandBuilder.js"; -import BetterRequestHandler from "./rest/betterRequestHandler.js"; -//# sourceMappingURL=Client.d.ts.map \ No newline at end of file diff --git a/dist/Client.d.ts.map b/dist/Client.d.ts.map deleted file mode 100644 index 4ac0bfef..00000000 --- a/dist/Client.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../src/Client.js"],"names":[],"mappings":";AA+BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;WAtDa,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI;aAC7B,MAAM,IAAI;iBACN,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,KAAK,IAAI;mBACxC,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;mBAC1B,CAAC,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI;mBAClD,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;uBACtB,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,IAAI;8BACtB,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI;iBACzC,CAAC,UAAU,EAAE,IAAI,KAAK,IAAI;oBACvB,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI;oBAC5B,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;uBACrB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI;uBAC9C,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;iBAC9B,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI;gBACnC,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI;mBAChC,CAAC,WAAW,EAAE,aAAa,KAAK,IAAI;kBACrC,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI;8BACvB,CAAC,WAAW,EAAE,YAAY,KAAK,IAAI;sBAC3C,CAAC,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,KAAK,IAAI;8BACtD,CAAC,IAAI,KAAQ,KAAK,IAAI;mBACjC,CAAC,OAAO,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,KAAK,IAAI;mBAC/D,CAAC,UAAU,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,EAAE,UAAU,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,KAAK,IAAI;mBAC5H,CAAC,OAAO,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,KAAK,IAAI;uBAC3D,CAAC,IAAI,KAAQ,KAAK,IAAI;kBAC3B,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;kBACxB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KACxD,cAAiB;;IAsChB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,4RAvBW,UAAO,EAyIjB;IAzBC;;;OAGG;IACH,MAFU,IAAI,OAAC,CAEC;IAuBlB;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,8BAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,eAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,2BAoBC;IAED;;;;;;;OAOG;IACH,oDAJa,IAAI,CAmChB;IAED;;;;;OAKG;IACH,6BAsCC;IAED;;;;;OAKG;IACH,uDAEC;IAED;;;;;OAKG;IACH,mEAEC;IAED;;;;;OAKG;IACH,gCAQC;IAED;;;;;OAKG;IACH,sBAJa,KAAK,KAAQ,CAMzB;IAED;;;;;;;;;;OAUG;IACH,kCATW,KAAK,CAAC,OAAO,CAAC,GACZ,KAAK,KAAQ,CAwBzB;IAED;;;;;;;;;;;;OAYG;IACH,sDAVG;QAAuB,IAAI;QACJ,IAAI;QACJ,MAAM;QACL,GAAG;QACJ,KAAK;KAC5B,GAAU,IAAI,CAkBhB;IAED;;;;;;;OAOG;IACH,6BALa,IAAI,CA+EhB;IApEC,8BAA0D;;CAqE7D;kBA7kBiB,uBAAuB;iBACxB,sBAAsB;6BAZV,oBAAoB;wBASzB,2BAA2B;yBAC1B,4BAA4B;8BAIvB,iCAAiC;8BACjC,iCAAiC;oBAC3C,kCAAkC;iCAdrB,gCAAgC"} \ No newline at end of file diff --git a/dist/compiledStructures.d.ts b/dist/compiledStructures.d.ts deleted file mode 100644 index d1ef3d6a..00000000 --- a/dist/compiledStructures.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=compiledStructures.d.ts.map \ No newline at end of file diff --git a/dist/compiledStructures.d.ts.map b/dist/compiledStructures.d.ts.map deleted file mode 100644 index 67d394ea..00000000 --- a/dist/compiledStructures.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"compiledStructures.d.ts","sourceRoot":"","sources":["../src/compiledStructures.js"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/constants.d.ts b/dist/constants.d.ts deleted file mode 100644 index b2cc218b..00000000 --- a/dist/constants.d.ts +++ /dev/null @@ -1,476 +0,0 @@ -export const BASE_URL: "https://discord.com"; -export const API_BASE_URL: "https://discord.com/api"; -export const CDN_BASE_URL: "https://cdn.discordapp.com"; -export const INVITE_BASE_URL: "https://discord.gg"; -export const VERSION: 10; -export const NAME: any; -export const GLUON_REPOSITORY_URL: any; -export namespace INTENTS { - let GUILDS: number; - let GUILD_MEMBERS: number; - let GUILD_BANS: number; - let GUILD_EMOJIS: number; - let GUILD_INTEGRATIONS: number; - let GUILD_WEBHOOKS: number; - let GUILD_INVITES: number; - let GUILD_VOICE_STATES: number; - let GUILD_PRESENCES: number; - let GUILD_MESSAGES: number; - let GUILD_MESSAGE_REACTIONS: number; - let GUILD_MESSAGE_TYPING: number; - let DIRECT_MESSAGES: number; - let DIRECT_MESSAGE_REACTIONS: number; - let DIRECT_MESSAGE_TYPING: number; - let MESSAGE_CONTENT: number; - let GUILD_SCHEDULED_EVENTS: number; - let AUTO_MODERATION_CONFIGURATION: number; - let AUTO_MODERATION_EXECUTION: number; - let GUILD_MESSAGE_POLLS: number; - let DIRECT_MESSAGE_POLLS: number; -} -export namespace EVENTS { - let READY: string; - let RESUMED: string; - let GUILD_CREATE: string; - let GUILD_DELETE: string; - let GUILD_UPDATE: string; - let MESSAGE_CREATE: string; - let MESSAGE_UPDATE: string; - let MESSAGE_DELETE: string; - let MESSAGE_DELETE_BULK: string; - let GUILD_AUDIT_LOG_ENTRY_CREATE: string; - let GUILD_BAN_ADD: string; - let GUILD_BAN_REMOVE: string; - let GUILD_MEMBER_ADD: string; - let GUILD_MEMBER_UPDATE: string; - let GUILD_MEMBER_REMOVE: string; - let BUTTON_CLICK: string; - let MENU_SELECT: string; - let MODAL_RESPONSE: string; - let SLASH_COMMAND: string; - let SLASH_COMMAND_AUTOCOMPLETE: string; - let VOICE_STATE_UPDATE: string; - let VOICE_CHANNEL_STATUS_UPDATE: string; - let CHANNEL_CREATE: string; - let CHANNEL_UPDATE: string; - let CHANNEL_DELETE: string; - let CHANNEL_PINS_UPDATE: string; - let THREAD_CREATE: string; - let THREAD_UPDATE: string; - let THREAD_DELETE: string; - let THREAD_LIST_SYNC: string; - let INVITE_CREATE: string; - let INVITE_DELETE: string; - let GUILD_ROLE_CREATE: string; - let GUILD_ROLE_UPDATE: string; - let GUILD_ROLE_DELETE: string; - let GUILD_EMOJI_CREATE: string; - let GUILD_EMOJI_UPDATE: string; - let GUILD_EMOJI_DELETE: string; - let ENTITLEMENT_CREATE: string; - let ENTITLEMENT_UPDATE: string; - let ENTITLEMENT_DELETE: string; - let GUILD_SCHEDULED_EVENT_CREATE: string; - let GUILD_SCHEDULED_EVENT_UPDATE: string; - let GUILD_SCHEDULED_EVENT_DELETE: string; - let GUILD_SCHEDULED_EVENT_USER_ADD: string; - let GUILD_SCHEDULED_EVENT_USER_REMOVE: string; - let INITIALISED: string; - let MESSAGE_POLL_VOTE_ADD: string; - let MESSAGE_POLL_VOTE_REMOVE: string; - let MESSAGE_REACTION_ADD: string; - let MESSAGE_REACTION_REMOVE: string; - let WEBHOOKS_UPDATE: string; -} -export namespace CHANNEL_TYPES { - let GUILD_TEXT: number; - let GUILD_VOICE: number; - let GUILD_CATEGORY: number; - let GUILD_NEWS: number; - let GUILD_NEWS_THREAD: number; - let GUILD_PUBLIC_THREAD: number; - let GUILD_PRIVATE_THREAD: number; - let GUILD_STAGE_VOICE: number; - let GUILD_DIRECTORY: number; - let GUILD_FORUM: number; - let GUILD_MEDIA: number; -} -export namespace USER_FLAGS { - let DISCORD_EMPLOYEE: number; - let DISCORD_PARTNER: number; - let HYPESQUAD_EVENTS: number; - let BUG_HUNTER_LEVEL_1: number; - let HOUSE_BRAVERY: number; - let HOUSE_BRILLIANCE: number; - let HOUSE_BALANCE: number; - let EARLY_SUPPORTER: number; - let TEAM_USER: number; - let SYSTEM: number; - let BUG_HUNTER_LEVEL_2: number; - let VERIFIED_BOT: number; - let VERIFIED_BOT_DEVELOPER: number; -} -export namespace MEMBER_FLAGS { - let DID_REJOIN: number; - let COMPLETED_ONBOARDING: number; - let BYPASSES_VERIFICATION: number; - let STARTED_ONBOARDING: number; -} -export namespace MESSAGE_FLAGS { - let CROSSPOSTED: number; - let IS_CROSSPOST: number; - let SUPPRESS_EMBEDS: number; - let SOURCE_MESSAGE_DELETED: number; - let URGENT: number; - let HAS_THREAD: number; - let EPHEMERAL: number; - let LOADING: number; - let FAILED_TO_MENTION_SOME_ROLES_IN_THREAD: number; - let SUPPRESS_NOTIFICATIONS: number; - let IS_VOICE_MESSAGE: number; -} -export namespace AUDIT_LOG_TYPES { - let GUILD_UPDATE_1: number; - export { GUILD_UPDATE_1 as GUILD_UPDATE }; - let CHANNEL_CREATE_1: number; - export { CHANNEL_CREATE_1 as CHANNEL_CREATE }; - let CHANNEL_UPDATE_1: number; - export { CHANNEL_UPDATE_1 as CHANNEL_UPDATE }; - let CHANNEL_DELETE_1: number; - export { CHANNEL_DELETE_1 as CHANNEL_DELETE }; - export let CHANNEL_OVERWRITE_CREATE: number; - export let CHANNEL_OVERWRITE_UPDATE: number; - export let CHANNEL_OVERWRITE_DELETE: number; - export let MEMBER_KICK: number; - export let MEMBER_PRUNE: number; - export let MEMBER_BAN_ADD: number; - export let MEMBER_BAN_REMOVE: number; - export let MEMBER_UPDATE: number; - export let MEMBER_ROLE_UPDATE: number; - export let MEMBER_MOVE: number; - export let MEMBER_DISCONNECT: number; - export let BOT_ADD: number; - export let ROLE_CREATE: number; - export let ROLE_UPDATE: number; - export let ROLE_DELETE: number; - let INVITE_CREATE_1: number; - export { INVITE_CREATE_1 as INVITE_CREATE }; - export let INVITE_UPDATE: number; - let INVITE_DELETE_1: number; - export { INVITE_DELETE_1 as INVITE_DELETE }; - export let WEBHOOK_CREATE: number; - export let WEBHOOK_UPDATE: number; - export let WEBHOOK_DELETE: number; - export let EMOJI_CREATE: number; - export let EMOJI_UPDATE: number; - export let EMOJI_DELETE: number; - let MESSAGE_DELETE_1: number; - export { MESSAGE_DELETE_1 as MESSAGE_DELETE }; - export let MESSAGE_BULK_DELETE: number; - export let MESSAGE_PIN: number; - export let MESSAGE_UNPIN: number; - export let INTEGRATION_CREATE: number; - export let INTEGRATION_UPDATE: number; - export let INTEGRATION_DELETE: number; - export let STAGE_INSTANCE_CREATE: number; - export let STAGE_INSTANCE_UPDATE: number; - export let STAGE_INSTANCE_DELETE: number; - export let STICKER_CREATE: number; - export let STICKER_UPDATE: number; - export let STICKER_DELETE: number; - let GUILD_SCHEDULED_EVENT_CREATE_1: number; - export { GUILD_SCHEDULED_EVENT_CREATE_1 as GUILD_SCHEDULED_EVENT_CREATE }; - let GUILD_SCHEDULED_EVENT_UPDATE_1: number; - export { GUILD_SCHEDULED_EVENT_UPDATE_1 as GUILD_SCHEDULED_EVENT_UPDATE }; - let GUILD_SCHEDULED_EVENT_DELETE_1: number; - export { GUILD_SCHEDULED_EVENT_DELETE_1 as GUILD_SCHEDULED_EVENT_DELETE }; - let THREAD_CREATE_1: number; - export { THREAD_CREATE_1 as THREAD_CREATE }; - let THREAD_UPDATE_1: number; - export { THREAD_UPDATE_1 as THREAD_UPDATE }; - let THREAD_DELETE_1: number; - export { THREAD_DELETE_1 as THREAD_DELETE }; - export let APPLICATION_COMMAND_PERMISSION_UPDATE: number; - export let AUTO_MODERATION_RULE_CREATE: number; - export let AUTO_MODERATION_RULE_UPDATE: number; - export let AUTO_MODERATION_RULE_DELETE: number; - export let AUTO_MODERATION_BLOCK_MESSAGE: number; - export let AUTO_MODERATION_FLAG_TO_CHANNEL: number; - export let AUTO_MODERATION_USER_COMMUNICATION_DISABLED: number; - export let CREATOR_MONETIZATION_REQUEST_CREATED: number; - export let CREATOR_MONETIZATION_TERMS_ACCEPTED: number; - let VOICE_CHANNEL_STATUS_UPDATE_1: number; - export { VOICE_CHANNEL_STATUS_UPDATE_1 as VOICE_CHANNEL_STATUS_UPDATE }; -} -export namespace INTERACTION_TYPES { - let COMMAND: number; - let COMPONENT: number; - let APPLICATION_COMMAND_AUTOCOMPLETE: number; - let MODAL_SUBMIT: number; -} -export namespace COMPONENT_TYPES { - let ACTION_ROW: number; - let BUTTON: number; - let SELECT_MENU: number; - let TEXT_INPUT: number; - let USER_SELECT_MENU: number; - let ROLE_SELECT_MENU: number; - let MENTIONABLE_SELECT_MENU: number; - let CHANNEL_SELECT_MENU: number; -} -export namespace SELECT_MENU_TYPES { - let TEXT: number; - let USER: number; - let ROLE: number; - let MENTIONABLE: number; - let CHANNEL: number; -} -export namespace BUTTON_STYLES { - let PRIMARY: number; - let SECONDARY: number; - let SUCCESS: number; - let DANGER: number; - let LINK: number; -} -export namespace TEXT_INPUT_STYLES { - let SHORT: number; - let PARAGRAPH: number; -} -export namespace APPLICATION_COMMAND_TYPES { - export let CHAT_INPUT: number; - let USER_1: number; - export { USER_1 as USER }; - export let MESSAGE: number; -} -export namespace APPLICATION_COMMAND_OPTION_TYPES { - export let SUB_COMMAND: number; - export let SUB_COMMAND_GROUP: number; - export let STRING: number; - export let INTEGER: number; - export let BOOLEAN: number; - let USER_2: number; - export { USER_2 as USER }; - let CHANNEL_1: number; - export { CHANNEL_1 as CHANNEL }; - let ROLE_1: number; - export { ROLE_1 as ROLE }; - let MENTIONABLE_1: number; - export { MENTIONABLE_1 as MENTIONABLE }; - export let NUMBER: number; - export let ATTACHMENT: number; -} -export const DEFAULT_MESSAGE_EXPIRY_SECONDS: number; -export const DEFAULT_USER_EXPIRY_SECONDS: number; -export const DEFAULT_POLLING_TIME: number; -export const DEFAULT_INCREASE_CACHE_BY: 28; -export namespace PERMISSIONS { - let CREATE_INSTANT_INVITE: string; - let KICK_MEMBERS: string; - let BAN_MEMBERS: string; - let ADMINISTRATOR: string; - let MANAGE_CHANNELS: string; - let MANAGE_GUILD: string; - let ADD_REACTIONS: string; - let VIEW_AUDIT_LOG: string; - let PRIORITY_SPEAKER: string; - let STREAM: string; - let VIEW_CHANNEL: string; - let SEND_MESSAGES: string; - let SEND_TTS_MESSAGES: string; - let MANAGE_MESSAGES: string; - let EMBED_LINKS: string; - let ATTACH_FILES: string; - let READ_MESSAGE_HISTORY: string; - let MENTION_EVERYONE: string; - let USE_EXTERNAL_EMOJIS: string; - let VIEW_GUILD_INSIGHTS: string; - let CONNECT: string; - let SPEAK: string; - let MUTE_MEMBERS: string; - let DEAFEN_MEMBERS: string; - let MOVE_MEMBERS: string; - let USE_VAD: string; - let CHANGE_NICKNAME: string; - let MANAGE_NICKNAMES: string; - let MANAGE_ROLES: string; - let MANAGE_WEBHOOKS: string; - let MANAGE_EMOJIS: string; - let USE_SLASH_COMMANDS: string; - let REQUEST_TO_SPEAK: string; - let MANAGE_THREADS: string; - let USE_PUBLIC_THREADS: string; - let USE_PRIVATE_THREADS: string; - let USE_EXTERNAL_STICKERS: string; - let SEND_MESSAGES_IN_THREADS: string; - let USE_EMBEDDED_ACTIVITIES: string; - let MODERATE_MEMBERS: string; - let VIEW_CREATOR_MONETIZATION_ANALYTICS: string; - let USE_SOUNDBOARD: string; - let CREATE_GUILD_EXPRESSIONS: string; - let CREATE_EVENTS: string; - let USE_EXTERNAL_SOUNDS: string; - let SEND_VOICE_MESSAGES: string; - let SEND_POLLS: string; -} -export const STICKER_FORMATS: string[]; -export namespace STICKER_FORMATS_ENUM { - let PNG: number; - let APNG: number; - let LOTTIE: number; -} -export namespace WEBSOCKET_STATES { - let CONNECTING: number; - let OPEN: number; - let CLOSING: number; - let CLOSED: number; -} -export namespace GLUON_GLOBAL_CACHE_ENUM { - let GUILDS_1: number; - export { GUILDS_1 as GUILDS }; - export let USERS: number; - export let CHANNELS: number; - export let MESSAGES: number; - export let ROLES: number; - export let EMOJIS: number; - export let INVITES: number; - export let VOICE_STATES: number; - export let MEMBERS: number; - export let SCHEDULED_EVENTS: number; -} -export namespace GLUON_CACHING_OPTIONS { - let NO_MESSAGES: number; - let FILES_ONLY: number; - let NO_VOICE_STATE: number; -} -export namespace GLUON_GUILD_CACHING_OPTIONS { - let MESSAGES_1: number; - export { MESSAGES_1 as MESSAGES }; - export let FILES: number; - let VOICE_STATES_1: number; - export { VOICE_STATES_1 as VOICE_STATES }; - let ROLES_1: number; - export { ROLES_1 as ROLES }; - let EMOJIS_1: number; - export { EMOJIS_1 as EMOJIS }; - let INVITES_1: number; - export { INVITES_1 as INVITES }; - let CHANNELS_1: number; - export { CHANNELS_1 as CHANNELS }; - let MEMBERS_1: number; - export { MEMBERS_1 as MEMBERS }; - export let THREADS: number; - let SCHEDULED_EVENTS_1: number; - export { SCHEDULED_EVENTS_1 as SCHEDULED_EVENTS }; -} -export namespace GLUON_CHANNEL_CACHING_OPTIONS { - let MESSAGES_2: number; - export { MESSAGES_2 as MESSAGES }; - let FILES_1: number; - export { FILES_1 as FILES }; - export let CONTENT: number; - export let POLL: number; - export let REACTIONS: number; - export let EMBEDS: number; - export let ATTRIBUTES: number; - export let REFERENCE: number; - export let WEBHOOK: number; - export let STICKER: number; -} -export namespace PERMISSION_OVERWRITE_TYPES { - let ROLE_2: number; - export { ROLE_2 as ROLE }; - export let MEMBER: number; -} -export namespace GLUON_DEBUG_LEVELS { - export let NONE: number; - export let ERROR: number; - export let WARN: number; - let DANGER_1: number; - export { DANGER_1 as DANGER }; - export let INFO: number; -} -export namespace AUTO_MODERATION_TRIGGER_TYPES { - let KEYWORD: number; - let SPAM: number; - let KEYWORD_PRESET: number; - let MENTION_SPAM: number; -} -export namespace AUTO_MODERATION_EVENT_TYPES { - let MESSAGE_SEND: number; -} -export namespace AUTO_MODERATION_KEYWORD_PRESET_TYPES { - let PROFANITY: number; - let SEXUAL_CONTENT: number; - let SLURS: number; -} -export namespace AUTO_MODERATION_ACTION_TYPES { - let BLOCK_MESSAGE: number; - let SEND_ALERT_MESSAGE: number; - let TIMEOUT: number; -} -export const GATEWAY_RECONNECT_CLOSE_CODES: number[]; -export namespace LIMITS { - let MAX_ACTION_ROW_BUTTONS: number; - let MAX_EMBED_SIZE: number; - let MAX_EMBED_DESCRIPTION: number; - let MAX_EMBED_TITLE: number; - let MAX_EMBED_FIELDS: number; - let MAX_EMBED_FIELD_NAME: number; - let MAX_EMBED_FIELD_VALUE: number; - let MAX_EMBED_FOOTER_TEXT: number; - let MAX_EMBED_AUTHOR_NAME: number; - let MAX_COMMAND_NAME: number; - let MIN_COMMAND_NAME: number; - let MAX_COMMAND_DESCRIPTION: number; - let MIN_COMMAND_DESCRIPTION: number; - let MAX_COMMAND_OPTIONS: number; - let MAX_COMMAND_OPTION_NAME: number; - let MIN_COMMAND_OPTION_NAME: number; - let MAX_COMMAND_OPTION_DESCRIPTION: number; - let MIN_COMMAND_OPTION_DESCRIPTION: number; - let MAX_COMMAND_OPTION_CHOICES: number; - let MAX_COMMAND_OPTION_CHOICE_NAME: number; - let MIN_COMMAND_OPTION_CHOICE_NAME: number; - let MAX_COMMAND_OPTION_CHOICE_VALUE: number; - let MIN_COMMAND_OPTION_CHOICE_VALUE: number; - let MAX_BUTTON_LABEL: number; - let MAX_BUTTON_CUSTOM_ID: number; - let MAX_DROPDOWN_CUSTOM_ID: number; - let MAX_DROPDOWN_OPTIONS: number; - let MAX_DROPDOWN_PLACEHOLDER: number; - let MIN_MIN_DROPDOWN_VALUES: number; - let MAX_MIN_DROPDOWN_VALUES: number; - let MIN_MAX_DROPDOWN_VALUES: number; - let MAX_MAX_DROPDOWN_VALUES: number; - let MAX_ACTION_ROWS: number; - let MAX_TEXT_INPUT_LABEL: number; - let MAX_TEXT_INPUT_CUSTOM_ID: number; - let MAX_TEXT_INPUT_PLACEHOLDER: number; - let MAX_TEXT_INPUT_VALUE: number; - let MAX_DROPDOWN_OPTION_LABEL: number; - let MAX_DROPDOWN_OPTION_VALUE: number; - let MAX_DROPDOWN_OPTION_DESCRIPTION: number; - let MIN_MIN_TEXT_INPUT_LENGTH: number; - let MAX_MIN_TEXT_INPUT_LENGTH: number; - let MIN_MAX_TEXT_INPUT_LENGTH: number; - let MAX_MAX_TEXT_INPUT_LENGTH: number; - let MAX_FILE_NAME_LENGTH: number; - let MIN_MIN_COMMAND_OPTION_LENGTH: number; - let MAX_MIN_COMMAND_OPTION_LENGTH: number; - let MIN_MAX_COMMAND_OPTION_LENGTH: number; - let MAX_MAX_COMMAND_OPTION_LENGTH: number; - let MAX_MESSAGE_CONTENT: number; - let MAX_NITRO_MESSAGE_CONTENT: number; - let MAX_MESSAGE_EMBEDS: number; - let MAX_MESSAGE_FILES: number; - let MIN_MESSAGES_FETCH_LIMIT: number; - let MAX_MESSAGES_FETCH_LIMIT: number; -} -export const COMMAND_NAME_REGEX: RegExp; -export namespace TO_JSON_TYPES_ENUM { - let DISCORD_FORMAT: number; - let CACHE_FORMAT: number; - let STORAGE_FORMAT: number; -} -export const GLUON_VERSION: any; -//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/dist/constants.d.ts.map b/dist/constants.d.ts.map deleted file mode 100644 index e07c91d2..00000000 --- a/dist/constants.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.js"],"names":[],"mappings":"AACA,6CAA8C;AAC9C,qDAAsD;AACtD,wDAAyD;AACzD,mDAAoD;AACpD,yBAA0B;AAC1B,uBAAqC;AACrC,uCAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4OxE,oDAAwD;AACxD,iDAAoD;AACpD,0CAA8C;AAC9C,2CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkD5C,uCAA+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF/D,qDAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DF,wCACkD;;;;;;AAMlD,gCAAiD"} \ No newline at end of file diff --git a/dist/structures.d.ts b/dist/structures.d.ts deleted file mode 100644 index 66fc268c..00000000 --- a/dist/structures.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -export { default as Attachment } from "./structures/Attachment.js"; -export { default as Invite } from "./structures/Invite.js"; -export { default as Guild } from "./structures/Guild.js"; -export { default as Sticker } from "./structures/Sticker.js"; -export { default as TextChannel } from "./structures/TextChannel.js"; -export { default as Emoji } from "./structures/Emoji.js"; -export { default as AuditLog } from "./structures/AuditLog.js"; -export { default as ModalResponse } from "./structures/ModalResponse.js"; -export { default as OptionSelect } from "./structures/OptionSelect.js"; -export { default as Message } from "./structures/Message.js"; -export { default as User } from "./structures/User.js"; -export { default as Role } from "./structures/Role.js"; -export { default as VoiceChannel } from "./structures/VoiceChannel.js"; -export { default as Thread } from "./structures/Thread.js"; -export { default as PermissionOverwrite } from "./structures/PermissionOverwrite.js"; -export { default as Reaction } from "./structures/Reaction.js"; -export { default as Member } from "./structures/Member.js"; -export { default as Poll } from "./structures/Poll.js"; -export { default as Channel } from "./structures/Channel.js"; -export { default as SlashCommand } from "./structures/SlashCommand.js"; -export { default as Interaction } from "./structures/Interaction.js"; -export { default as VoiceState } from "./structures/VoiceState.js"; -export { default as ScheduledEvent } from "./structures/ScheduledEvent.js"; -export { default as ButtonClick } from "./structures/ButtonClick.js"; -export { default as CategoryChannel } from "./structures/CategoryChannel.js"; -export { default as ChannelMessageManager } from "./managers/ChannelMessageManager.js"; -export { default as UserManager } from "./managers/UserManager.js"; -export { default as BaseCacheManager } from "./managers/BaseCacheManager.js"; -export { default as GuildManager } from "./managers/GuildManager.js"; -export { default as GuildCacheOptions } from "./managers/GuildCacheOptions.js"; -export { default as GluonCacheOptions } from "./managers/GluonCacheOptions.js"; -export { default as MessagePollManager } from "./managers/MessagePollManager.js"; -export { default as GuildEmojisManager } from "./managers/GuildEmojisManager.js"; -export { default as ChannelCacheOptions } from "./managers/ChannelCacheOptions.js"; -export { default as GuildScheduledEventManager } from "./managers/GuildScheduledEventManager.js"; -export { default as MessageReactionManager } from "./managers/MessageReactionManager.js"; -export { default as GuildInviteManager } from "./managers/GuildInviteManager.js"; -export { default as GuildChannelsManager } from "./managers/GuildChannelsManager.js"; -export { default as GuildVoiceStatesManager } from "./managers/GuildVoiceStatesManager.js"; -export { default as GuildMemberManager } from "./managers/GuildMemberManager.js"; -export { default as GuildRoleManager } from "./managers/GuildRoleManager.js"; -//# sourceMappingURL=structures.d.ts.map \ No newline at end of file diff --git a/dist/structures.d.ts.map b/dist/structures.d.ts.map deleted file mode 100644 index f52bc9e6..00000000 --- a/dist/structures.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"structures.d.ts","sourceRoot":"","sources":["../src/structures.js"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/testData.d.ts b/dist/testData.d.ts deleted file mode 100644 index fb44709d..00000000 --- a/dist/testData.d.ts +++ /dev/null @@ -1,1379 +0,0 @@ -export namespace TEST_DATA { - let GUILD_ID: string; - namespace TEXT_CHANNEL { - let id: string; - let type: number; - let guild_id: string; - let name: string; - let position: number; - let permission_overwrites: any[]; - let rate_limit_per_user: number; - let nsfw: boolean; - let topic: string; - let last_message_id: any; - let parent_id: string; - let last_pin_timestamp: any; - } - namespace TEXT_CHANNEL_2 { - let id_1: string; - export { id_1 as id }; - let type_1: number; - export { type_1 as type }; - let guild_id_1: string; - export { guild_id_1 as guild_id }; - let name_1: string; - export { name_1 as name }; - let position_1: number; - export { position_1 as position }; - let permission_overwrites_1: ({ - id: string; - type: number; - allow: number; - deny: string; - } | { - id: string; - type: number; - allow: string; - deny: number; - })[]; - export { permission_overwrites_1 as permission_overwrites }; - let rate_limit_per_user_1: number; - export { rate_limit_per_user_1 as rate_limit_per_user }; - let nsfw_1: boolean; - export { nsfw_1 as nsfw }; - let topic_1: string; - export { topic_1 as topic }; - let last_message_id_1: any; - export { last_message_id_1 as last_message_id }; - let parent_id_1: string; - export { parent_id_1 as parent_id }; - let last_pin_timestamp_1: any; - export { last_pin_timestamp_1 as last_pin_timestamp }; - } - namespace VOICE_CHANNEL { - let id_2: string; - export { id_2 as id }; - let type_2: number; - export { type_2 as type }; - let guild_id_2: string; - export { guild_id_2 as guild_id }; - let name_2: string; - export { name_2 as name }; - let position_2: number; - export { position_2 as position }; - let permission_overwrites_2: any[]; - export { permission_overwrites_2 as permission_overwrites }; - let rate_limit_per_user_2: number; - export { rate_limit_per_user_2 as rate_limit_per_user }; - let nsfw_2: boolean; - export { nsfw_2 as nsfw }; - let topic_2: string; - export { topic_2 as topic }; - let last_message_id_2: any; - export { last_message_id_2 as last_message_id }; - let parent_id_2: string; - export { parent_id_2 as parent_id }; - let last_pin_timestamp_2: any; - export { last_pin_timestamp_2 as last_pin_timestamp }; - export let bitrate: number; - export let user_limit: number; - } - namespace CATEGORY_CHANNEL { - let id_3: string; - export { id_3 as id }; - let type_3: number; - export { type_3 as type }; - let guild_id_3: string; - export { guild_id_3 as guild_id }; - let name_3: string; - export { name_3 as name }; - let position_3: number; - export { position_3 as position }; - let permission_overwrites_3: { - id: string; - type: number; - allow: string; - deny: string; - }[]; - export { permission_overwrites_3 as permission_overwrites }; - let nsfw_3: boolean; - export { nsfw_3 as nsfw }; - let parent_id_3: any; - export { parent_id_3 as parent_id }; - } - namespace GUILD { - let id_4: string; - export { id_4 as id }; - let name_4: string; - export { name_4 as name }; - export let icon: any; - export let splash: any; - export let discovery_splash: any; - export let owner_id: string; - export let region: string; - export let afk_channel_id: any; - export let afk_timeout: number; - export let verification_level: number; - export let default_message_notifications: number; - export let explicit_content_filter: number; - export let roles: any[]; - export let emojis: any[]; - export let features: any[]; - export let mfa_level: number; - export let application_id: any; - export let system_channel_id: string; - export let system_channel_flags: number; - export let rules_channel_id: string; - export let joined_at: string; - export let large: boolean; - export let unavailable: boolean; - export let member_count: number; - export let voice_states: any[]; - export let members: any[]; - export let channels: ({ - id: string; - type: number; - guild_id: string; - name: string; - position: number; - permission_overwrites: any[]; - rate_limit_per_user: number; - nsfw: boolean; - topic: any; - last_message_id: any; - parent_id: any; - last_pin_timestamp: any; - bitrate?: undefined; - user_limit?: undefined; - } | { - id: string; - type: number; - guild_id: string; - name: string; - position: number; - permission_overwrites: any[]; - rate_limit_per_user: number; - nsfw: boolean; - topic: any; - last_message_id: any; - parent_id: any; - last_pin_timestamp: any; - bitrate: number; - user_limit: number; - })[]; - export let threads: any[]; - export let presences: any[]; - export let max_presences: number; - export let max_members: number; - export let vanity_url_code: any; - export let description: any; - export let banner: any; - export let premium_progress_bar_enabled: boolean; - export let premium_tier: number; - export let premium_subscription_count: number; - export let preferred_locale: string; - export let public_updates_channel_id: any; - export let max_video_channel_users: number; - export let approximate_member_count: number; - export let approximate_presence_count: number; - export let welcome_screen: any; - export let nsfw_level: number; - export let stage_instances: any[]; - export let stickers: any[]; - } - namespace THREAD { - let id_5: string; - export { id_5 as id }; - let type_4: number; - export { type_4 as type }; - let guild_id_4: string; - export { guild_id_4 as guild_id }; - let name_5: string; - export { name_5 as name }; - let position_4: number; - export { position_4 as position }; - let permission_overwrites_4: any[]; - export { permission_overwrites_4 as permission_overwrites }; - let rate_limit_per_user_3: number; - export { rate_limit_per_user_3 as rate_limit_per_user }; - let nsfw_4: boolean; - export { nsfw_4 as nsfw }; - let topic_3: string; - export { topic_3 as topic }; - let last_message_id_3: any; - export { last_message_id_3 as last_message_id }; - let parent_id_4: string; - export { parent_id_4 as parent_id }; - let last_pin_timestamp_3: any; - export { last_pin_timestamp_3 as last_pin_timestamp }; - let owner_id_1: string; - export { owner_id_1 as owner_id }; - } - let CHANNEL_ID: string; - let MESSAGE_ID: string; - namespace MESSAGE { - let id_6: string; - export { id_6 as id }; - let type_5: number; - export { type_5 as type }; - export let content: string; - export let channel_id: string; - export namespace author { - let id_7: string; - export { id_7 as id }; - export let username: string; - export let discriminator: string; - export let avatar: any; - export let bot: boolean; - export let system: boolean; - export let mfa_enabled: boolean; - export let locale: string; - export let verified: boolean; - export let email: any; - export let flags: number; - export let premium_type: number; - export let public_flags: number; - export let _cached: number; - } - export let edited_timestamp: string; - export let mention_everyone: boolean; - export let mentions: { - id: string; - username: string; - discriminator: string; - avatar: any; - bot: boolean; - system: boolean; - mfa_enabled: boolean; - locale: string; - verified: boolean; - flags: number; - premium_type: number; - public_flags: number; - }[]; - export let mention_roles: string[]; - export let mention_channels: string[]; - export let attachments: { - id: string; - filename: string; - size: number; - url: string; - proxy_url: string; - height: number; - width: number; - }[]; - export let embeds: { - title: string; - description: string; - url: string; - timestamp: string; - color: number; - footer: { - text: string; - icon_url: any; - proxy_icon_url: any; - }; - image: { - url: string; - proxy_url: string; - height: number; - width: number; - }; - thumbnail: { - url: string; - proxy_url: string; - height: number; - width: number; - }; - video: { - url: string; - }; - fields: { - name: string; - value: string; - inline: boolean; - }[]; - }[]; - export let reactions: { - count: number; - me: boolean; - emoji: { - id: string; - name: string; - }; - }[]; - export let pinned: boolean; - export let webhook_id: any; - export namespace message_reference { - export let message_id: string; - let channel_id_1: string; - export { channel_id_1 as channel_id }; - let guild_id_5: string; - export { guild_id_5 as guild_id }; - } - export let message_snapshots: { - id: string; - type: number; - content: string; - channel_id: string; - }[]; - export namespace referenced_message { - let id_8: string; - export { id_8 as id }; - let type_6: number; - export { type_6 as type }; - let content_1: string; - export { content_1 as content }; - let channel_id_2: string; - export { channel_id_2 as channel_id }; - } - export let sticker_items: { - id: string; - name: string; - format_type: number; - }[]; - export namespace poll { - let id_9: string; - export { id_9 as id }; - let channel_id_3: string; - export { channel_id_3 as channel_id }; - export let question: string; - export let options: { - id: string; - option: string; - }[]; - export let votes: { - user_id: string; - option_id: string; - }[]; - export let expiry: string; - } - } - let MEMBER_ID: string; - namespace MEMBER { - export namespace user { - let id_10: string; - export { id_10 as id }; - let username_1: string; - export { username_1 as username }; - let discriminator_1: string; - export { discriminator_1 as discriminator }; - let avatar_1: any; - export { avatar_1 as avatar }; - let bot_1: boolean; - export { bot_1 as bot }; - let system_1: boolean; - export { system_1 as system }; - let mfa_enabled_1: boolean; - export { mfa_enabled_1 as mfa_enabled }; - let locale_1: string; - export { locale_1 as locale }; - let verified_1: boolean; - export { verified_1 as verified }; - let email_1: any; - export { email_1 as email }; - let flags_1: number; - export { flags_1 as flags }; - let premium_type_1: number; - export { premium_type_1 as premium_type }; - let public_flags_1: number; - export { public_flags_1 as public_flags }; - } - export let nick: any; - let roles_1: any[]; - export { roles_1 as roles }; - let joined_at_1: string; - export { joined_at_1 as joined_at }; - export let premium_since: any; - export let deaf: boolean; - export let mute: boolean; - export let pending: boolean; - export let permissions: string; - let flags_2: number; - export { flags_2 as flags }; - } - let EVENT_ID: string; - let ROLE_ID: string; - namespace ATTACHMENT { - let id_11: string; - export { id_11 as id }; - export let filename: string; - export let size: number; - export let url: string; - export let proxy_url: string; - export let height: number; - export let width: number; - } - let FILE_NAME: string; - namespace AUDIT_LOG { - let id_12: string; - export { id_12 as id }; - let guild_id_6: string; - export { guild_id_6 as guild_id }; - export let user_id: string; - export let target_id: string; - export let action_type: number; - export let changes: any[]; - export namespace options_1 { - let channel_id_4: string; - export { channel_id_4 as channel_id }; - let id_13: string; - export { id_13 as id }; - let type_7: number; - export { type_7 as type }; - } - export { options_1 as options }; - export let reason: string; - export namespace context { - let id_14: string; - export { id_14 as id }; - let type_8: number; - export { type_8 as type }; - } - export let created_at: string; - } - namespace BUTTON_CLICK { - let id_15: string; - export { id_15 as id }; - let type_9: number; - export { type_9 as type }; - export namespace data { - let custom_id: string; - let component_type: number; - } - let guild_id_7: string; - export { guild_id_7 as guild_id }; - let channel_id_5: string; - export { channel_id_5 as channel_id }; - export namespace member { - export namespace user_1 { - let id_16: string; - export { id_16 as id }; - let username_2: string; - export { username_2 as username }; - let discriminator_2: string; - export { discriminator_2 as discriminator }; - let avatar_2: any; - export { avatar_2 as avatar }; - let bot_2: boolean; - export { bot_2 as bot }; - let system_2: boolean; - export { system_2 as system }; - let mfa_enabled_2: boolean; - export { mfa_enabled_2 as mfa_enabled }; - let locale_2: string; - export { locale_2 as locale }; - let verified_2: boolean; - export { verified_2 as verified }; - let email_2: any; - export { email_2 as email }; - let flags_3: number; - export { flags_3 as flags }; - let premium_type_2: number; - export { premium_type_2 as premium_type }; - let public_flags_2: number; - export { public_flags_2 as public_flags }; - } - export { user_1 as user }; - let roles_2: any[]; - export { roles_2 as roles }; - let joined_at_2: string; - export { joined_at_2 as joined_at }; - let premium_since_1: any; - export { premium_since_1 as premium_since }; - let deaf_1: boolean; - export { deaf_1 as deaf }; - let mute_1: boolean; - export { mute_1 as mute }; - let pending_1: boolean; - export { pending_1 as pending }; - let permissions_1: string; - export { permissions_1 as permissions }; - } - export let token: string; - export let version: number; - export namespace message { - let id_17: string; - export { id_17 as id }; - let type_10: number; - export { type_10 as type }; - let content_2: string; - export { content_2 as content }; - let channel_id_6: string; - export { channel_id_6 as channel_id }; - } - let custom_id_1: string; - export { custom_id_1 as custom_id }; - } - namespace CLIENT_USER { - let id_18: string; - export { id_18 as id }; - let username_3: string; - export { username_3 as username }; - let discriminator_3: string; - export { discriminator_3 as discriminator }; - let avatar_3: any; - export { avatar_3 as avatar }; - let bot_3: boolean; - export { bot_3 as bot }; - let system_3: boolean; - export { system_3 as system }; - let mfa_enabled_3: boolean; - export { mfa_enabled_3 as mfa_enabled }; - let locale_3: string; - export { locale_3 as locale }; - let verified_3: boolean; - export { verified_3 as verified }; - let email_3: any; - export { email_3 as email }; - let flags_4: number; - export { flags_4 as flags }; - let premium_type_3: number; - export { premium_type_3 as premium_type }; - let public_flags_3: number; - export { public_flags_3 as public_flags }; - } - namespace CLIENT_MEMBER { - export namespace user_2 { - let id_19: string; - export { id_19 as id }; - let username_4: string; - export { username_4 as username }; - let discriminator_4: string; - export { discriminator_4 as discriminator }; - let avatar_4: any; - export { avatar_4 as avatar }; - let bot_4: boolean; - export { bot_4 as bot }; - let system_4: boolean; - export { system_4 as system }; - let mfa_enabled_4: boolean; - export { mfa_enabled_4 as mfa_enabled }; - let locale_4: string; - export { locale_4 as locale }; - let verified_4: boolean; - export { verified_4 as verified }; - let email_4: any; - export { email_4 as email }; - let flags_5: number; - export { flags_5 as flags }; - let premium_type_4: number; - export { premium_type_4 as premium_type }; - let public_flags_4: number; - export { public_flags_4 as public_flags }; - } - export { user_2 as user }; - let nick_1: any; - export { nick_1 as nick }; - let roles_3: any[]; - export { roles_3 as roles }; - let joined_at_3: string; - export { joined_at_3 as joined_at }; - let premium_since_2: any; - export { premium_since_2 as premium_since }; - let deaf_2: boolean; - export { deaf_2 as deaf }; - let mute_2: boolean; - export { mute_2 as mute }; - let pending_2: boolean; - export { pending_2 as pending }; - } - namespace ROLE_ADMIN { - let id_20: string; - export { id_20 as id }; - let name_6: string; - export { name_6 as name }; - export let color: number; - export let hoist: boolean; - let position_5: number; - export { position_5 as position }; - let permissions_2: string; - export { permissions_2 as permissions }; - export let managed: boolean; - export let mentionable: boolean; - export namespace tags { - let bot_id: string; - let integration_id: any; - let premium_subscriber: any; - } - let icon_1: string; - export { icon_1 as icon }; - } - namespace ROLE_OVERRIDES { - let id_21: string; - export { id_21 as id }; - let name_7: string; - export { name_7 as name }; - let color_1: number; - export { color_1 as color }; - let hoist_1: boolean; - export { hoist_1 as hoist }; - let position_6: number; - export { position_6 as position }; - let permissions_3: string; - export { permissions_3 as permissions }; - let managed_1: boolean; - export { managed_1 as managed }; - let mentionable_1: boolean; - export { mentionable_1 as mentionable }; - let icon_2: string; - export { icon_2 as icon }; - } - namespace EMOJI { - let id_22: string; - export { id_22 as id }; - let name_8: string; - export { name_8 as name }; - let guild_id_8: string; - export { guild_id_8 as guild_id }; - export let animated: boolean; - } - namespace STANDARD_EMOJI { - let id_23: any; - export { id_23 as id }; - let name_9: string; - export { name_9 as name }; - } - namespace INTERACTION { - let id_24: string; - export { id_24 as id }; - let type_11: number; - export { type_11 as type }; - export namespace data_1 { - let name_10: string; - export { name_10 as name }; - let options_2: any[]; - export { options_2 as options }; - } - export { data_1 as data }; - let guild_id_9: string; - export { guild_id_9 as guild_id }; - let channel_id_7: string; - export { channel_id_7 as channel_id }; - export namespace member_1 { - export namespace user_3 { - let id_25: string; - export { id_25 as id }; - let username_5: string; - export { username_5 as username }; - let discriminator_5: string; - export { discriminator_5 as discriminator }; - let avatar_5: any; - export { avatar_5 as avatar }; - let bot_5: boolean; - export { bot_5 as bot }; - let system_5: boolean; - export { system_5 as system }; - let mfa_enabled_5: boolean; - export { mfa_enabled_5 as mfa_enabled }; - let locale_5: string; - export { locale_5 as locale }; - let verified_5: boolean; - export { verified_5 as verified }; - let email_5: any; - export { email_5 as email }; - let flags_6: number; - export { flags_6 as flags }; - let premium_type_5: number; - export { premium_type_5 as premium_type }; - let public_flags_5: number; - export { public_flags_5 as public_flags }; - } - export { user_3 as user }; - let roles_4: any[]; - export { roles_4 as roles }; - let joined_at_4: string; - export { joined_at_4 as joined_at }; - let premium_since_3: any; - export { premium_since_3 as premium_since }; - let deaf_3: boolean; - export { deaf_3 as deaf }; - let mute_3: boolean; - export { mute_3 as mute }; - let pending_3: boolean; - export { pending_3 as pending }; - let permissions_4: string; - export { permissions_4 as permissions }; - } - export { member_1 as member }; - let token_1: string; - export { token_1 as token }; - let version_1: number; - export { version_1 as version }; - } - namespace INVITE { - export let code: string; - let guild_id_10: string; - export { guild_id_10 as guild_id }; - export namespace channel { - let id_26: string; - export { id_26 as id }; - let name_11: string; - export { name_11 as name }; - let type_12: number; - export { type_12 as type }; - let nsfw_5: boolean; - export { nsfw_5 as nsfw }; - let parent_id_5: string; - export { parent_id_5 as parent_id }; - let topic_4: string; - export { topic_4 as topic }; - } - export namespace inviter { - let id_27: string; - export { id_27 as id }; - let username_6: string; - export { username_6 as username }; - let discriminator_6: string; - export { discriminator_6 as discriminator }; - let avatar_6: any; - export { avatar_6 as avatar }; - let bot_6: boolean; - export { bot_6 as bot }; - let system_6: boolean; - export { system_6 as system }; - let mfa_enabled_6: boolean; - export { mfa_enabled_6 as mfa_enabled }; - let locale_6: string; - export { locale_6 as locale }; - let verified_6: boolean; - export { verified_6 as verified }; - let email_6: any; - export { email_6 as email }; - let flags_7: number; - export { flags_7 as flags }; - let premium_type_6: number; - export { premium_type_6 as premium_type }; - let public_flags_6: number; - export { public_flags_6 as public_flags }; - } - export let target_user_id: any; - export let target_user_type: number; - let approximate_presence_count_1: number; - export { approximate_presence_count_1 as approximate_presence_count }; - let approximate_member_count_1: number; - export { approximate_member_count_1 as approximate_member_count }; - export let expires_at: string; - export let uses: number; - export let max_uses: number; - export let max_age: number; - export let temporary: boolean; - let created_at_1: string; - export { created_at_1 as created_at }; - } - namespace MODAL_RESPONSE { - let id_28: string; - export { id_28 as id }; - let type_13: number; - export { type_13 as type }; - export namespace data_2 { - let components: { - type: number; - components: { - custom_id: string; - type: number; - value: string; - }[]; - }[]; - } - export { data_2 as data }; - let guild_id_11: string; - export { guild_id_11 as guild_id }; - let channel_id_8: string; - export { channel_id_8 as channel_id }; - export namespace member_2 { - let avatar_7: any; - export { avatar_7 as avatar }; - let flags_8: number; - export { flags_8 as flags }; - export namespace user_4 { - let id_29: string; - export { id_29 as id }; - let username_7: string; - export { username_7 as username }; - let discriminator_7: string; - export { discriminator_7 as discriminator }; - let avatar_8: any; - export { avatar_8 as avatar }; - let bot_7: boolean; - export { bot_7 as bot }; - } - export { user_4 as user }; - let roles_5: any; - export { roles_5 as roles }; - let joined_at_5: string; - export { joined_at_5 as joined_at }; - let premium_since_4: any; - export { premium_since_4 as premium_since }; - let deaf_4: boolean; - export { deaf_4 as deaf }; - let mute_4: boolean; - export { mute_4 as mute }; - let pending_4: boolean; - export { pending_4 as pending }; - let permissions_5: string; - export { permissions_5 as permissions }; - } - export { member_2 as member }; - let token_2: string; - export { token_2 as token }; - let version_2: number; - export { version_2 as version }; - } - namespace OPTION_SELECT { - let application_id_1: string; - export { application_id_1 as application_id }; - let id_30: string; - export { id_30 as id }; - let type_14: number; - export { type_14 as type }; - export namespace data_3 { - let custom_id_2: string; - export { custom_id_2 as custom_id }; - let component_type_1: number; - export { component_type_1 as component_type }; - export let values: string[]; - } - export { data_3 as data }; - let guild_id_12: string; - export { guild_id_12 as guild_id }; - let channel_id_9: string; - export { channel_id_9 as channel_id }; - export namespace member_3 { - export namespace user_5 { - let id_31: string; - export { id_31 as id }; - let username_8: string; - export { username_8 as username }; - let discriminator_8: string; - export { discriminator_8 as discriminator }; - let avatar_9: any; - export { avatar_9 as avatar }; - let bot_8: boolean; - export { bot_8 as bot }; - export let global_name: string; - } - export { user_5 as user }; - let roles_6: any[]; - export { roles_6 as roles }; - let joined_at_6: string; - export { joined_at_6 as joined_at }; - let premium_since_5: any; - export { premium_since_5 as premium_since }; - let deaf_5: boolean; - export { deaf_5 as deaf }; - let mute_5: boolean; - export { mute_5 as mute }; - let pending_5: boolean; - export { pending_5 as pending }; - let permissions_6: string; - export { permissions_6 as permissions }; - let avatar_10: any; - export { avatar_10 as avatar }; - let flags_9: number; - export { flags_9 as flags }; - } - export { member_3 as member }; - export namespace message_1 { - let application_id_2: string; - export { application_id_2 as application_id }; - let id_32: string; - export { id_32 as id }; - let type_15: number; - export { type_15 as type }; - let content_3: string; - export { content_3 as content }; - let channel_id_10: string; - export { channel_id_10 as channel_id }; - export namespace author_1 { - let id_33: string; - export { id_33 as id }; - let username_9: string; - export { username_9 as username }; - let discriminator_9: string; - export { discriminator_9 as discriminator }; - let avatar_11: any; - export { avatar_11 as avatar }; - let bot_9: boolean; - export { bot_9 as bot }; - let global_name_1: string; - export { global_name_1 as global_name }; - } - export { author_1 as author }; - let attachments_1: any[]; - export { attachments_1 as attachments }; - let embeds_1: any[]; - export { embeds_1 as embeds }; - let mentions_1: any[]; - export { mentions_1 as mentions }; - let mention_roles_1: any[]; - export { mention_roles_1 as mention_roles }; - let mention_channels_1: any[]; - export { mention_channels_1 as mention_channels }; - let pinned_1: boolean; - export { pinned_1 as pinned }; - let mention_everyone_1: boolean; - export { mention_everyone_1 as mention_everyone }; - export let tts: boolean; - export let timestamp: string; - let edited_timestamp_1: any; - export { edited_timestamp_1 as edited_timestamp }; - let flags_10: number; - export { flags_10 as flags }; - } - export { message_1 as message }; - let token_3: string; - export { token_3 as token }; - let version_3: number; - export { version_3 as version }; - } - namespace REACTION { - let user_id_1: string; - export { user_id_1 as user_id }; - let message_id_1: string; - export { message_id_1 as message_id }; - export namespace emoji { - let id_34: any; - export { id_34 as id }; - let name_12: string; - export { name_12 as name }; - } - let channel_id_11: string; - export { channel_id_11 as channel_id }; - let guild_id_13: string; - export { guild_id_13 as guild_id }; - export namespace member_4 { - export namespace user_6 { - let id_35: string; - export { id_35 as id }; - let username_10: string; - export { username_10 as username }; - let discriminator_10: string; - export { discriminator_10 as discriminator }; - let avatar_12: any; - export { avatar_12 as avatar }; - let bot_10: boolean; - export { bot_10 as bot }; - let system_7: boolean; - export { system_7 as system }; - let mfa_enabled_7: boolean; - export { mfa_enabled_7 as mfa_enabled }; - let locale_7: string; - export { locale_7 as locale }; - let verified_7: boolean; - export { verified_7 as verified }; - let email_7: any; - export { email_7 as email }; - let flags_11: number; - export { flags_11 as flags }; - let premium_type_7: number; - export { premium_type_7 as premium_type }; - let public_flags_7: number; - export { public_flags_7 as public_flags }; - } - export { user_6 as user }; - let roles_7: any[]; - export { roles_7 as roles }; - let joined_at_7: string; - export { joined_at_7 as joined_at }; - let premium_since_6: any; - export { premium_since_6 as premium_since }; - let deaf_6: boolean; - export { deaf_6 as deaf }; - let mute_6: boolean; - export { mute_6 as mute }; - let pending_6: boolean; - export { pending_6 as pending }; - let permissions_7: string; - export { permissions_7 as permissions }; - } - export { member_4 as member }; - export let message_author_id: string; - export let burst: boolean; - let type_16: number; - export { type_16 as type }; - } - namespace SLASH_COMMAND { - let id_36: string; - export { id_36 as id }; - let type_17: number; - export { type_17 as type }; - export namespace data_4 { - let name_13: string; - export { name_13 as name }; - let description_1: string; - export { description_1 as description }; - let options_3: any[]; - export { options_3 as options }; - } - export { data_4 as data }; - let guild_id_14: string; - export { guild_id_14 as guild_id }; - let channel_id_12: string; - export { channel_id_12 as channel_id }; - export namespace member_5 { - export namespace user_7 { - let id_37: string; - export { id_37 as id }; - let username_11: string; - export { username_11 as username }; - let discriminator_11: string; - export { discriminator_11 as discriminator }; - let avatar_13: any; - export { avatar_13 as avatar }; - let bot_11: boolean; - export { bot_11 as bot }; - let system_8: boolean; - export { system_8 as system }; - let mfa_enabled_8: boolean; - export { mfa_enabled_8 as mfa_enabled }; - let locale_8: string; - export { locale_8 as locale }; - let verified_8: boolean; - export { verified_8 as verified }; - let email_8: any; - export { email_8 as email }; - let flags_12: number; - export { flags_12 as flags }; - let premium_type_8: number; - export { premium_type_8 as premium_type }; - let public_flags_8: number; - export { public_flags_8 as public_flags }; - } - export { user_7 as user }; - let roles_8: any[]; - export { roles_8 as roles }; - let joined_at_8: string; - export { joined_at_8 as joined_at }; - let premium_since_7: any; - export { premium_since_7 as premium_since }; - let deaf_7: boolean; - export { deaf_7 as deaf }; - let mute_7: boolean; - export { mute_7 as mute }; - let pending_7: boolean; - export { pending_7 as pending }; - let permissions_8: string; - export { permissions_8 as permissions }; - } - export { member_5 as member }; - let token_4: string; - export { token_4 as token }; - let version_4: number; - export { version_4 as version }; - } - namespace STICKER { - let id_38: string; - export { id_38 as id }; - let name_14: string; - export { name_14 as name }; - let tags_1: string; - export { tags_1 as tags }; - let type_18: number; - export { type_18 as type }; - export let format_type: number; - let description_2: string; - export { description_2 as description }; - export let asset: string; - export let pack_id: string; - export let sort_value: number; - } - namespace USER { - let id_39: string; - export { id_39 as id }; - let username_12: string; - export { username_12 as username }; - let discriminator_12: string; - export { discriminator_12 as discriminator }; - let avatar_14: string; - export { avatar_14 as avatar }; - let bot_12: boolean; - export { bot_12 as bot }; - let system_9: boolean; - export { system_9 as system }; - let mfa_enabled_9: boolean; - export { mfa_enabled_9 as mfa_enabled }; - let locale_9: string; - export { locale_9 as locale }; - let verified_9: boolean; - export { verified_9 as verified }; - let email_9: any; - export { email_9 as email }; - let flags_13: number; - export { flags_13 as flags }; - let premium_type_9: number; - export { premium_type_9 as premium_type }; - let public_flags_9: number; - export { public_flags_9 as public_flags }; - let global_name_2: string; - export { global_name_2 as global_name }; - } - namespace VOICE_STATE { - let channel_id_13: string; - export { channel_id_13 as channel_id }; - let user_id_2: string; - export { user_id_2 as user_id }; - export let session_id: string; - let deaf_8: boolean; - export { deaf_8 as deaf }; - let mute_8: boolean; - export { mute_8 as mute }; - export let self_deaf: boolean; - export let self_mute: boolean; - export let suppress: boolean; - export let self_stream: boolean; - export let self_video: boolean; - export let request_to_speak_timestamp: string; - export let joined: number; - } - namespace SCHEDULED_EVENT { - let id_40: string; - export { id_40 as id }; - let guild_id_15: string; - export { guild_id_15 as guild_id }; - let channel_id_14: string; - export { channel_id_14 as channel_id }; - export let creator_id: string; - let name_15: string; - export { name_15 as name }; - let description_3: string; - export { description_3 as description }; - export let scheduled_start_time: string; - export let scheduled_end_time: string; - export let privacy_level: number; - export let status: number; - export let entity_type: number; - export let entity_id: string; - export namespace entity_metadata { - let location: any; - } - export namespace creator { - let id_41: string; - export { id_41 as id }; - let username_13: string; - export { username_13 as username }; - let discriminator_13: string; - export { discriminator_13 as discriminator }; - let avatar_15: any; - export { avatar_15 as avatar }; - let bot_13: boolean; - export { bot_13 as bot }; - let system_10: boolean; - export { system_10 as system }; - let mfa_enabled_10: boolean; - export { mfa_enabled_10 as mfa_enabled }; - let locale_10: string; - export { locale_10 as locale }; - let verified_10: boolean; - export { verified_10 as verified }; - let email_10: any; - export { email_10 as email }; - let flags_14: number; - export { flags_14 as flags }; - let premium_type_10: number; - export { premium_type_10 as premium_type }; - let public_flags_10: number; - export { public_flags_10 as public_flags }; - } - export let user_count: number; - export let image: string; - } - namespace SCHEDULED_EVENT_EXTERNAL { - let id_42: string; - export { id_42 as id }; - let guild_id_16: string; - export { guild_id_16 as guild_id }; - let channel_id_15: string; - export { channel_id_15 as channel_id }; - let creator_id_1: string; - export { creator_id_1 as creator_id }; - let name_16: string; - export { name_16 as name }; - let description_4: string; - export { description_4 as description }; - let scheduled_start_time_1: string; - export { scheduled_start_time_1 as scheduled_start_time }; - let scheduled_end_time_1: string; - export { scheduled_end_time_1 as scheduled_end_time }; - let privacy_level_1: number; - export { privacy_level_1 as privacy_level }; - let status_1: number; - export { status_1 as status }; - let entity_type_1: number; - export { entity_type_1 as entity_type }; - let entity_id_1: string; - export { entity_id_1 as entity_id }; - export namespace entity_metadata_1 { - let location_1: string; - export { location_1 as location }; - } - export { entity_metadata_1 as entity_metadata }; - export namespace creator_1 { - let id_43: string; - export { id_43 as id }; - let username_14: string; - export { username_14 as username }; - let discriminator_14: string; - export { discriminator_14 as discriminator }; - let avatar_16: any; - export { avatar_16 as avatar }; - let bot_14: boolean; - export { bot_14 as bot }; - let system_11: boolean; - export { system_11 as system }; - let mfa_enabled_11: boolean; - export { mfa_enabled_11 as mfa_enabled }; - let locale_11: string; - export { locale_11 as locale }; - let verified_11: boolean; - export { verified_11 as verified }; - let email_11: any; - export { email_11 as email }; - let flags_15: number; - export { flags_15 as flags }; - let premium_type_11: number; - export { premium_type_11 as premium_type }; - let public_flags_11: number; - export { public_flags_11 as public_flags }; - } - export { creator_1 as creator }; - let user_count_1: number; - export { user_count_1 as user_count }; - let image_1: string; - export { image_1 as image }; - } - namespace POLL { - let question_1: string; - export { question_1 as question }; - export let answers: { - answer_id: number; - poll_media: { - text: string; - emoji: { - id: string; - name: string; - }; - }; - }[]; - let expiry_1: string; - export { expiry_1 as expiry }; - export let allow_multiselect: boolean; - export let layout_type: number; - export namespace results { - let is_finalized: boolean; - let answer_counts: { - id: number; - count: number; - me_voted: boolean; - }[]; - } - } - namespace PERMISSION_OVERWRITE { - let id_44: string; - export { id_44 as id }; - let type_19: number; - export { type_19 as type }; - export let allow: string; - export let deny: string; - } - namespace FOLLOWED_CHANNEL { - let channel_id_16: string; - export { channel_id_16 as channel_id }; - let webhook_id_1: string; - export { webhook_id_1 as webhook_id }; - } - namespace WEBHOOK { - let id_45: string; - export { id_45 as id }; - let type_20: number; - export { type_20 as type }; - let guild_id_17: string; - export { guild_id_17 as guild_id }; - let channel_id_17: string; - export { channel_id_17 as channel_id }; - let name_17: string; - export { name_17 as name }; - let avatar_17: any; - export { avatar_17 as avatar }; - let application_id_3: any; - export { application_id_3 as application_id }; - export namespace user_8 { - let id_46: string; - export { id_46 as id }; - let username_15: string; - export { username_15 as username }; - let discriminator_15: string; - export { discriminator_15 as discriminator }; - let avatar_18: any; - export { avatar_18 as avatar }; - let bot_15: boolean; - export { bot_15 as bot }; - let global_name_3: string; - export { global_name_3 as global_name }; - } - export { user_8 as user }; - } - namespace BAN { - let reason_1: string; - export { reason_1 as reason }; - export namespace user_9 { - let id_47: string; - export { id_47 as id }; - let username_16: string; - export { username_16 as username }; - let discriminator_16: string; - export { discriminator_16 as discriminator }; - let avatar_19: any; - export { avatar_19 as avatar }; - let global_name_4: string; - export { global_name_4 as global_name }; - let bot_16: boolean; - export { bot_16 as bot }; - } - export { user_9 as user }; - } -} -export namespace TEST_CLIENTS { - function ALL_CACHES_ENABLED(): Client; - function NO_CACHES_ENABLED(): Client; -} -export namespace TEST_GUILDS { - export function ALL_CACHES_ENABLED_1(client: any): Guild; - export { ALL_CACHES_ENABLED_1 as ALL_CACHES_ENABLED }; - export function NO_CACHES_ENABLED_1(client: any): Guild; - export { NO_CACHES_ENABLED_1 as NO_CACHES_ENABLED }; -} -export namespace TEST_CHANNELS { - function TEXT_CHANNEL_ALL_CACHES_ENABLED(client: any): TextChannel; - function TEXT_CHANNEL_2_ALL_CACHES_ENABLED(client: any): TextChannel; - function VOICE_CHANNEL_ALL_CACHES_ENABLED(client: any): VoiceChannel; - function CATEGORY_CHANNEL_ALL_CACHES_ENABLED(client: any): CategoryChannel; -} -export namespace TEST_MEMBERS { - export function CLIENT_MEMBER_1(client: any): Member; - export { CLIENT_MEMBER_1 as CLIENT_MEMBER }; - export function THREAD_OWNER_MEMBER(client: any): Member; - export function GUILD_OWNER_MEMBER(client: any): Member; - export function GENERIC_MEMBER(client: any): Member; - export function VOICE_STATE_MEMBER(client: any): Member; -} -export namespace TEST_MESSAGES { - function GENERIC_MESSAGE(client: any): Message; -} -export namespace TEST_ROLES { - function GENERIC_ADMIN_ROLE(client: any): Role; -} -export namespace TEST_SCHEDULED_EVENTS { - function GENERIC_SCHEDULED_EVENT(client: any): ScheduledEvent; - function EXTERNAL_GENERIC_SCHEDULED_EVENT(client: any): ScheduledEvent; -} -import Client from "./Client.js"; -import Guild from "./structures/Guild.js"; -import TextChannel from "./structures/TextChannel.js"; -import VoiceChannel from "./structures/VoiceChannel.js"; -import CategoryChannel from "./structures/CategoryChannel.js"; -import { Member } from "./structures.js"; -import { Message } from "./structures.js"; -import { Role } from "./structures.js"; -import { ScheduledEvent } from "./structures.js"; -//# sourceMappingURL=testData.d.ts.map \ No newline at end of file diff --git a/dist/testData.d.ts.map b/dist/testData.d.ts.map deleted file mode 100644 index 47d132b9..00000000 --- a/dist/testData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"testData.d.ts","sourceRoot":"","sources":["../src/testData.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA86BsB,sCAiBnB;IACkB,qCAiBlB;;;IAImB,yDAYnB;;IACkB,wDAYlB;;;;IAIgC,mEAKhC;IACkC,qEAKlC;IACiC,qEAKjC;IACoC,2EAKpC;;;IAIc,qDAMd;;IACoB,yDAMpB;IACmB,wDAMnB;IACe,oDAMf;IACmB,wDAMnB;;;IAIgB,+CAMhB;;;IAImB,+CAKnB;;;IAIwB,8DAOxB;IACiC,uEAOjC;;mBArlCgB,aAAa;kBAKd,uBAAuB;wBACjB,6BAA6B;yBAE5B,8BAA8B;4BAJ3B,iCAAiC;uBADP,iBAAiB;wBAAjB,iBAAiB;qBAAjB,iBAAiB;+BAAjB,iBAAiB"} \ No newline at end of file diff --git a/dist/util.d.ts b/dist/util.d.ts deleted file mode 100644 index 6fce7c11..00000000 --- a/dist/util.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export { default as ActionRow } from "./util/builder/actionRowBuilder.js"; -export { default as Button } from "./util/builder/buttonBuilder.js"; -export { default as checkMemberPermissions } from "./util/discord/checkMemberPermissions.js"; -export { default as checkPermission } from "./util/discord/checkPermission.js"; -export { default as Command } from "./util/builder/commandBuilder.js"; -export { default as CommandChoice } from "./util/builder/commandChoiceBuilder.js"; -export { default as CommandOption } from "./util/builder/commandOptionBuilder.js"; -export { default as decryptText } from "./util/general/decryptText.js"; -export { default as deepCompare } from "./util/general/deepCompare.js"; -export { default as Dropdown } from "./util/builder/dropdownBuilder.js"; -export { default as DropdownOption } from "./util/builder/dropdownOption.js"; -export { default as Embed } from "./util/builder/embedBuilder.js"; -export { default as encryptText } from "./util/general/encryptText.js"; -export { default as getTimestamp } from "./util/discord/getTimestampFromSnowflake.js"; -export { default as hexToInt } from "./util/general/hexToInt.js"; -export { default as MessageComponents } from "./util/builder/messageComponents.js"; -export { default as resolveEmoji } from "./util/discord/resolveEmoji.js"; -export { default as TextInput } from "./util/builder/textInputBuilder.js"; -export { default as verifyMessageLink } from "./util/discord/verifyMessageLink.js"; -//# sourceMappingURL=util.d.ts.map \ No newline at end of file diff --git a/dist/util.d.ts.map b/dist/util.d.ts.map deleted file mode 100644 index 23f384e4..00000000 --- a/dist/util.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.js"],"names":[],"mappings":""} \ No newline at end of file