UNPKG

seyfert

Version:

The most advanced framework for discord bots

87 lines (86 loc) 3.89 kB
import type { UsingClient } from '../../commands'; import type { GatewayInviteCreateDispatchData, GatewayInviteDeleteDispatchData } from '../../types'; export declare const INVITE_CREATE: (_self: UsingClient, data: GatewayInviteCreateDispatchData) => { channelId: string; code: string; createdAt: number; guildId?: string | undefined; inviter?: { id: string; username: string; discriminator: string; globalName: string | null; avatar: string | null; bot?: boolean | undefined; system?: boolean | undefined; mfaEnabled?: boolean | undefined; banner?: string | null | undefined; accentColor?: number | null | undefined; locale?: string | undefined; verified?: boolean | undefined; email?: string | null | undefined; flags?: import("../../types").UserFlags | undefined; premiumType?: import("../../types").UserPremiumType | undefined; publicFlags?: import("../../types").UserFlags | undefined; avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined; } | undefined; maxAge: number; maxUses: number; targetType?: import("../../types").InviteTargetType | undefined; targetUser?: { id: string; username: string; discriminator: string; globalName: string | null; avatar: string | null; bot?: boolean | undefined; system?: boolean | undefined; mfaEnabled?: boolean | undefined; banner?: string | null | undefined; accentColor?: number | null | undefined; locale?: string | undefined; verified?: boolean | undefined; email?: string | null | undefined; flags?: import("../../types").UserFlags | undefined; premiumType?: import("../../types").UserPremiumType | undefined; publicFlags?: import("../../types").UserFlags | undefined; avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined; } | undefined; targetApplication?: { id?: string | undefined; name?: string | undefined; icon?: string | null | undefined; description?: string | undefined; rpcOrigins?: string[] | undefined; botPublic?: boolean | undefined; botRequireCodeGrant?: boolean | undefined; bot?: import("../../types").APIUser | undefined; termsOfServiceUrl?: string | undefined; privacyPolicyUrl?: string | undefined; owner?: import("../../types").APIUser | undefined; verifyKey?: string | undefined; team?: import("../../types").APITeam | null | undefined; guildId?: string | undefined; guild?: import("../../types").APIPartialGuild | undefined; primarySkuId?: string | undefined; slug?: string | undefined; coverImage?: string | undefined; flags?: import("../../types").ApplicationFlags | undefined; approximateGuildCount?: number | undefined; approximateUserInstallCount?: number | undefined; redirectUris?: string[] | undefined; interactionsEndpointUrl?: string | null | undefined; roleConnectionsVerificationUrl?: string | null | undefined; tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined; installParams?: import("../../types").APIApplicationInstallParams | undefined; integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined; customInstallUrl?: string | undefined; } | undefined; temporary: boolean; uses: 0; }; export declare const INVITE_DELETE: (_self: UsingClient, data: GatewayInviteDeleteDispatchData) => { channelId: string; guildId?: string | undefined; code: string; };