Skip to main content

createTransformers

Documentation


Documentation / @discordeno/bot / createTransformers

Function: createTransformers()

createTransformers<TProps, TBehavior>(options): Transformers<TProps, TBehavior>

Defined in: bot/src/transformers.ts:377

Type Parameters

TProps

TProps extends TransformersDesiredProperties

TBehavior

TBehavior extends DesiredPropertiesBehavior

Parameters

options

activity?

TransformerFunction<TProps, TBehavior, DiscordActivity, Activity, { }, "unchanged">

activityInstance?

TransformerFunction<TProps, TBehavior, DiscordActivityInstance, ActivityInstance, { }, "desired-props">

activityLocation?

TransformerFunction<TProps, TBehavior, DiscordActivityLocation, ActivityLocation, { }, "desired-props">

application?

TransformerFunction<TProps, TBehavior, DiscordApplication, Application, { shardId?: number; }, "unchanged">

applicationCommand?

TransformerFunction<TProps, TBehavior, DiscordApplicationCommand, ApplicationCommand, { }, "unchanged">

applicationCommandOption?

TransformerFunction<TProps, TBehavior, DiscordApplicationCommandOption, ApplicationCommandOption, { }, "unchanged">

applicationCommandOptionChoice?

TransformerFunction<TProps, TBehavior, DiscordApplicationCommandOptionChoice, ApplicationCommandOptionChoice, { }, "unchanged">

applicationCommandPermission?

TransformerFunction<TProps, TBehavior, DiscordGuildApplicationCommandPermissions, GuildApplicationCommandPermissions, { }, "unchanged">

attachment?

TransformerFunction<TProps, TBehavior, DiscordAttachment, Attachment, { }, "desired-props">

auditLogEntry?

TransformerFunction<TProps, TBehavior, DiscordAuditLogEntry, AuditLogEntry, { }, "unchanged">

automodActionExecution?

TransformerFunction<TProps, TBehavior, DiscordAutoModerationActionExecution, AutoModerationActionExecution, { }, "unchanged">

automodRule?

TransformerFunction<TProps, TBehavior, DiscordAutoModerationRule, AutoModerationRule, { }, "unchanged">

avatarDecorationData?

TransformerFunction<TProps, TBehavior, DiscordAvatarDecorationData, AvatarDecorationData, { }, "desired-props">

channel?

TransformerFunction<TProps, TBehavior, DiscordChannel, Channel, { guildId?: BigString; }, "desired-props">

collectibles?

TransformerFunction<TProps, TBehavior, DiscordCollectibles, Collectibles, { }, "desired-props">

component?

TransformerFunction<TProps, TBehavior, DiscordMessageComponent | DiscordMessageComponentFromModalInteractionResponse, Component, { }, "unchanged">

customizers?

{ activity?: TransformerCustomizerFunction<TProps, TBehavior, DiscordActivity, Activity, BigStringsToBigints<{ }>>; activityInstance?: TransformerCustomizerFunction<TProps, TBehavior, DiscordActivityInstance, SetupDesiredProps<ActivityInstance, TProps, TBehavior>, BigStringsToBigints<{ }>>; activityLocation?: TransformerCustomizerFunction<TProps, TBehavior, DiscordActivityLocation, SetupDesiredProps<ActivityLocation, TProps, TBehavior>, BigStringsToBigints<{ }>>; application?: TransformerCustomizerFunction<TProps, TBehavior, DiscordApplication, Application, BigStringsToBigints<{ shardId?: number; }>>; applicationCommand?: TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommand, ApplicationCommand, BigStringsToBigints<{ }>>; applicationCommandOption?: TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommandOption, ApplicationCommandOption, BigStringsToBigints<{ }>>; applicationCommandOptionChoice?: TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommandOptionChoice, ApplicationCommandOptionChoice, BigStringsToBigints<{ }>>; applicationCommandPermission?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildApplicationCommandPermissions, GuildApplicationCommandPermissions, BigStringsToBigints<{ }>>; attachment?: TransformerCustomizerFunction<TProps, TBehavior, DiscordAttachment, SetupDesiredProps<Attachment, TProps, TBehavior>, BigStringsToBigints<{ }>>; auditLogEntry?: TransformerCustomizerFunction<TProps, TBehavior, DiscordAuditLogEntry, AuditLogEntry, BigStringsToBigints<{ }>>; automodActionExecution?: TransformerCustomizerFunction<TProps, TBehavior, DiscordAutoModerationActionExecution, AutoModerationActionExecution, BigStringsToBigints<{ }>>; automodRule?: TransformerCustomizerFunction<TProps, TBehavior, DiscordAutoModerationRule, AutoModerationRule, BigStringsToBigints<{ }>>; avatarDecorationData?: TransformerCustomizerFunction<TProps, TBehavior, DiscordAvatarDecorationData, SetupDesiredProps<AvatarDecorationData, TProps, TBehavior>, BigStringsToBigints<{ }>>; channel?: TransformerCustomizerFunction<TProps, TBehavior, DiscordChannel, SetupDesiredProps<Channel, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>; collectibles?: TransformerCustomizerFunction<TProps, TBehavior, DiscordCollectibles, SetupDesiredProps<Collectibles, TProps, TBehavior>, BigStringsToBigints<{ }>>; component?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageComponent | DiscordMessageComponentFromModalInteractionResponse, Component, BigStringsToBigints<{ }>>; defaultReactionEmoji?: TransformerCustomizerFunction<TProps, TBehavior, DiscordDefaultReactionEmoji, SetupDesiredProps<DefaultReactionEmoji, TProps, TBehavior>, BigStringsToBigints<{ }>>; embed?: TransformerCustomizerFunction<TProps, TBehavior, DiscordEmbed, Embed, BigStringsToBigints<{ }>>; emoji?: TransformerCustomizerFunction<TProps, TBehavior, DiscordEmoji, SetupDesiredProps<Emoji, TProps, TBehavior>, BigStringsToBigints<{ }>>; entitlement?: TransformerCustomizerFunction<TProps, TBehavior, DiscordEntitlement, SetupDesiredProps<Entitlement, TProps, TBehavior>, BigStringsToBigints<{ }>>; forumTag?: TransformerCustomizerFunction<TProps, TBehavior, DiscordForumTag, SetupDesiredProps<ForumTag, TProps, TBehavior>, BigStringsToBigints<{ }>>; gatewayBot?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGetGatewayBot, GetGatewayBot, BigStringsToBigints<{ }>>; guild?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuild, SetupDesiredProps<Guild, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; guildOnboarding?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboarding, SetupDesiredProps<GuildOnboarding, TProps, TBehavior>, BigStringsToBigints<{ }>>; guildOnboardingPrompt?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboardingPrompt, SetupDesiredProps<GuildOnboardingPrompt, TProps, TBehavior>, BigStringsToBigints<{ }>>; guildOnboardingPromptOption?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboardingPromptOption, SetupDesiredProps<GuildOnboardingPromptOption, TProps, TBehavior>, BigStringsToBigints<{ }>>; incidentsData?: TransformerCustomizerFunction<TProps, TBehavior, DiscordIncidentsData, SetupDesiredProps<IncidentsData, TProps, TBehavior>, BigStringsToBigints<{ }>>; integration?: TransformerCustomizerFunction<TProps, TBehavior, DiscordIntegrationCreateUpdate, Integration, BigStringsToBigints<{ }>>; interaction?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteraction, SetupDesiredProps<Interaction, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; interactionCallback?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionCallback, SetupDesiredProps<InteractionCallback, TProps, TBehavior>, BigStringsToBigints<{ }>>; interactionCallbackResponse?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionCallbackResponse, SetupDesiredProps<InteractionCallbackResponse, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; interactionDataOptions?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionDataOption, InteractionDataOption, BigStringsToBigints<{ }>>; interactionDataResolved?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionDataResolved, { attachments?: Collection<bigint, SetupDesiredProps<Attachment, TProps, TBehavior>>; channels?: Collection<bigint, InteractionResolvedDataChannel<TProps, TBehavior>>; members?: Collection<bigint, InteractionResolvedDataMember<TProps, TBehavior>>; messages?: Collection<bigint, SetupDesiredProps<Message, TProps, TBehavior>>; roles?: Collection<bigint, SetupDesiredProps<Role, TProps, TBehavior>>; users?: Collection<bigint, SetupDesiredProps<User, TProps, TBehavior>>; }, BigStringsToBigints<{ guildId?: BigString; shardId?: number; }>>; interactionResource?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionResource, SetupDesiredProps<InteractionResource, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; invite?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInviteMetadata | DiscordInviteCreate, SetupDesiredProps<Invite, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; inviteStageInstance?: TransformerCustomizerFunction<TProps, TBehavior, DiscordInviteStageInstance, SetupDesiredProps<InviteStageInstance, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>; lobby?: TransformerCustomizerFunction<TProps, TBehavior, DiscordLobby, SetupDesiredProps<Lobby, TProps, TBehavior>, BigStringsToBigints<{ }>>; lobbyMember?: TransformerCustomizerFunction<TProps, TBehavior, DiscordLobbyMember, SetupDesiredProps<LobbyMember, TProps, TBehavior>, BigStringsToBigints<{ }>>; mediaGalleryItem?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMediaGalleryItem, MediaGalleryItem, BigStringsToBigints<{ }>>; member?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMember, SetupDesiredProps<Member, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; userId?: BigString; }>>; message?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessage, SetupDesiredProps<Message, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; messageCall?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageCall, SetupDesiredProps<MessageCall, TProps, TBehavior>, BigStringsToBigints<{ }>>; messageInteractionMetadata?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageInteractionMetadata, SetupDesiredProps<MessageInteractionMetadata, TProps, TBehavior>, BigStringsToBigints<{ }>>; messagePin?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessagePin, SetupDesiredProps<MessagePin, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; messageSnapshot?: TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageSnapshot, SetupDesiredProps<MessageSnapshot, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>; nameplate?: TransformerCustomizerFunction<TProps, TBehavior, DiscordNameplate, SetupDesiredProps<Nameplate, TProps, TBehavior>, BigStringsToBigints<{ }>>; poll?: TransformerCustomizerFunction<TProps, TBehavior, DiscordPoll, SetupDesiredProps<Poll, TProps, TBehavior>, BigStringsToBigints<{ }>>; pollMedia?: TransformerCustomizerFunction<TProps, TBehavior, DiscordPollMedia, SetupDesiredProps<PollMedia, TProps, TBehavior>, BigStringsToBigints<{ }>>; presence?: TransformerCustomizerFunction<TProps, TBehavior, DiscordPresenceUpdate, PresenceUpdate, BigStringsToBigints<{ }>>; role?: TransformerCustomizerFunction<TProps, TBehavior, DiscordRole, SetupDesiredProps<Role, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>; roleColors?: TransformerCustomizerFunction<TProps, TBehavior, DiscordRoleColors, SetupDesiredProps<RoleColors, TProps, TBehavior>, BigStringsToBigints<{ }>>; scheduledEvent?: TransformerCustomizerFunction<TProps, TBehavior, DiscordScheduledEvent, SetupDesiredProps<ScheduledEvent, TProps, TBehavior>, BigStringsToBigints<{ }>>; scheduledEventRecurrenceRule?: TransformerCustomizerFunction<TProps, TBehavior, DiscordScheduledEventRecurrenceRule, SetupDesiredProps<ScheduledEventRecurrenceRule, TProps, TBehavior>, BigStringsToBigints<{ }>>; sku?: TransformerCustomizerFunction<TProps, TBehavior, DiscordSku, SetupDesiredProps<Sku, TProps, TBehavior>, BigStringsToBigints<{ }>>; soundboardSound?: TransformerCustomizerFunction<TProps, TBehavior, DiscordSoundboardSound, SetupDesiredProps<SoundboardSound, TProps, TBehavior>, BigStringsToBigints<{ }>>; stageInstance?: TransformerCustomizerFunction<TProps, TBehavior, DiscordStageInstance, SetupDesiredProps<StageInstance, TProps, TBehavior>, BigStringsToBigints<{ }>>; sticker?: TransformerCustomizerFunction<TProps, TBehavior, DiscordSticker, SetupDesiredProps<Sticker, TProps, TBehavior>, BigStringsToBigints<{ }>>; stickerPack?: TransformerCustomizerFunction<TProps, TBehavior, DiscordStickerPack, StickerPack, BigStringsToBigints<{ }>>; subscription?: TransformerCustomizerFunction<TProps, TBehavior, DiscordSubscription, SetupDesiredProps<Subscription, TProps, TBehavior>, BigStringsToBigints<{ }>>; team?: TransformerCustomizerFunction<TProps, TBehavior, DiscordTeam, Team, BigStringsToBigints<{ }>>; template?: TransformerCustomizerFunction<TProps, TBehavior, DiscordTemplate, Template, BigStringsToBigints<{ }>>; threadMember?: TransformerCustomizerFunction<TProps, TBehavior, DiscordThreadMember, ThreadMember, BigStringsToBigints<ThreadMemberTransformerExtra>>; threadMemberGuildCreate?: TransformerCustomizerFunction<TProps, TBehavior, DiscordThreadMemberGuildCreate, ThreadMemberGuildCreate, BigStringsToBigints<{ }>>; unfurledMediaItem?: TransformerCustomizerFunction<TProps, TBehavior, DiscordUnfurledMediaItem, UnfurledMediaItem, BigStringsToBigints<{ }>>; user?: TransformerCustomizerFunction<TProps, TBehavior, DiscordUser, SetupDesiredProps<User, TProps, TBehavior>, BigStringsToBigints<{ }>>; userPrimaryGuild?: TransformerCustomizerFunction<TProps, TBehavior, DiscordUserPrimaryGuild, SetupDesiredProps<UserPrimaryGuild, TProps, TBehavior>, BigStringsToBigints<{ }>>; voiceRegion?: TransformerCustomizerFunction<TProps, TBehavior, DiscordVoiceRegion, VoiceRegion, BigStringsToBigints<{ }>>; voiceState?: TransformerCustomizerFunction<TProps, TBehavior, DiscordVoiceState, SetupDesiredProps<VoiceState, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>; webhook?: TransformerCustomizerFunction<TProps, TBehavior, DiscordWebhook, SetupDesiredProps<Webhook, TProps, TBehavior>, BigStringsToBigints<{ }>>; welcomeScreen?: TransformerCustomizerFunction<TProps, TBehavior, DiscordWelcomeScreen, WelcomeScreen, BigStringsToBigints<{ }>>; widget?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildWidget, GuildWidget, BigStringsToBigints<{ }>>; widgetSettings?: TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildWidgetSettings, GuildWidgetSettings, BigStringsToBigints<{ }>>; }

customizers.activity?

TransformerCustomizerFunction<TProps, TBehavior, DiscordActivity, Activity, BigStringsToBigints<{ }>>

customizers.activityInstance?

TransformerCustomizerFunction<TProps, TBehavior, DiscordActivityInstance, SetupDesiredProps<ActivityInstance, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.activityLocation?

TransformerCustomizerFunction<TProps, TBehavior, DiscordActivityLocation, SetupDesiredProps<ActivityLocation, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.application?

TransformerCustomizerFunction<TProps, TBehavior, DiscordApplication, Application, BigStringsToBigints<{ shardId?: number; }>>

customizers.applicationCommand?

TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommand, ApplicationCommand, BigStringsToBigints<{ }>>

customizers.applicationCommandOption?

TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommandOption, ApplicationCommandOption, BigStringsToBigints<{ }>>

customizers.applicationCommandOptionChoice?

TransformerCustomizerFunction<TProps, TBehavior, DiscordApplicationCommandOptionChoice, ApplicationCommandOptionChoice, BigStringsToBigints<{ }>>

customizers.applicationCommandPermission?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildApplicationCommandPermissions, GuildApplicationCommandPermissions, BigStringsToBigints<{ }>>

customizers.attachment?

TransformerCustomizerFunction<TProps, TBehavior, DiscordAttachment, SetupDesiredProps<Attachment, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.auditLogEntry?

TransformerCustomizerFunction<TProps, TBehavior, DiscordAuditLogEntry, AuditLogEntry, BigStringsToBigints<{ }>>

customizers.automodActionExecution?

TransformerCustomizerFunction<TProps, TBehavior, DiscordAutoModerationActionExecution, AutoModerationActionExecution, BigStringsToBigints<{ }>>

customizers.automodRule?

TransformerCustomizerFunction<TProps, TBehavior, DiscordAutoModerationRule, AutoModerationRule, BigStringsToBigints<{ }>>

customizers.avatarDecorationData?

TransformerCustomizerFunction<TProps, TBehavior, DiscordAvatarDecorationData, SetupDesiredProps<AvatarDecorationData, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.channel?

TransformerCustomizerFunction<TProps, TBehavior, DiscordChannel, SetupDesiredProps<Channel, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>

customizers.collectibles?

TransformerCustomizerFunction<TProps, TBehavior, DiscordCollectibles, SetupDesiredProps<Collectibles, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.component?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageComponent | DiscordMessageComponentFromModalInteractionResponse, Component, BigStringsToBigints<{ }>>

customizers.defaultReactionEmoji?

TransformerCustomizerFunction<TProps, TBehavior, DiscordDefaultReactionEmoji, SetupDesiredProps<DefaultReactionEmoji, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.embed?

TransformerCustomizerFunction<TProps, TBehavior, DiscordEmbed, Embed, BigStringsToBigints<{ }>>

customizers.emoji?

TransformerCustomizerFunction<TProps, TBehavior, DiscordEmoji, SetupDesiredProps<Emoji, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.entitlement?

TransformerCustomizerFunction<TProps, TBehavior, DiscordEntitlement, SetupDesiredProps<Entitlement, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.forumTag?

TransformerCustomizerFunction<TProps, TBehavior, DiscordForumTag, SetupDesiredProps<ForumTag, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.gatewayBot?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGetGatewayBot, GetGatewayBot, BigStringsToBigints<{ }>>

customizers.guild?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuild, SetupDesiredProps<Guild, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.guildOnboarding?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboarding, SetupDesiredProps<GuildOnboarding, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.guildOnboardingPrompt?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboardingPrompt, SetupDesiredProps<GuildOnboardingPrompt, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.guildOnboardingPromptOption?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildOnboardingPromptOption, SetupDesiredProps<GuildOnboardingPromptOption, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.incidentsData?

TransformerCustomizerFunction<TProps, TBehavior, DiscordIncidentsData, SetupDesiredProps<IncidentsData, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.integration?

TransformerCustomizerFunction<TProps, TBehavior, DiscordIntegrationCreateUpdate, Integration, BigStringsToBigints<{ }>>

customizers.interaction?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteraction, SetupDesiredProps<Interaction, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.interactionCallback?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionCallback, SetupDesiredProps<InteractionCallback, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.interactionCallbackResponse?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionCallbackResponse, SetupDesiredProps<InteractionCallbackResponse, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.interactionDataOptions?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionDataOption, InteractionDataOption, BigStringsToBigints<{ }>>

customizers.interactionDataResolved?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionDataResolved, { attachments?: Collection<bigint, SetupDesiredProps<Attachment, TProps, TBehavior>>; channels?: Collection<bigint, InteractionResolvedDataChannel<TProps, TBehavior>>; members?: Collection<bigint, InteractionResolvedDataMember<TProps, TBehavior>>; messages?: Collection<bigint, SetupDesiredProps<Message, TProps, TBehavior>>; roles?: Collection<bigint, SetupDesiredProps<Role, TProps, TBehavior>>; users?: Collection<bigint, SetupDesiredProps<User, TProps, TBehavior>>; }, BigStringsToBigints<{ guildId?: BigString; shardId?: number; }>>

customizers.interactionResource?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInteractionResource, SetupDesiredProps<InteractionResource, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.invite?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInviteMetadata | DiscordInviteCreate, SetupDesiredProps<Invite, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.inviteStageInstance?

TransformerCustomizerFunction<TProps, TBehavior, DiscordInviteStageInstance, SetupDesiredProps<InviteStageInstance, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>

customizers.lobby?

TransformerCustomizerFunction<TProps, TBehavior, DiscordLobby, SetupDesiredProps<Lobby, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.lobbyMember?

TransformerCustomizerFunction<TProps, TBehavior, DiscordLobbyMember, SetupDesiredProps<LobbyMember, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.mediaGalleryItem?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMediaGalleryItem, MediaGalleryItem, BigStringsToBigints<{ }>>

customizers.member?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMember, SetupDesiredProps<Member, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; userId?: BigString; }>>

customizers.message?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessage, SetupDesiredProps<Message, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.messageCall?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageCall, SetupDesiredProps<MessageCall, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.messageInteractionMetadata?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageInteractionMetadata, SetupDesiredProps<MessageInteractionMetadata, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.messagePin?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessagePin, SetupDesiredProps<MessagePin, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.messageSnapshot?

TransformerCustomizerFunction<TProps, TBehavior, DiscordMessageSnapshot, SetupDesiredProps<MessageSnapshot, TProps, TBehavior>, BigStringsToBigints<{ shardId?: number; }>>

customizers.nameplate?

TransformerCustomizerFunction<TProps, TBehavior, DiscordNameplate, SetupDesiredProps<Nameplate, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.poll?

TransformerCustomizerFunction<TProps, TBehavior, DiscordPoll, SetupDesiredProps<Poll, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.pollMedia?

TransformerCustomizerFunction<TProps, TBehavior, DiscordPollMedia, SetupDesiredProps<PollMedia, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.presence?

TransformerCustomizerFunction<TProps, TBehavior, DiscordPresenceUpdate, PresenceUpdate, BigStringsToBigints<{ }>>

customizers.role?

TransformerCustomizerFunction<TProps, TBehavior, DiscordRole, SetupDesiredProps<Role, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>

customizers.roleColors?

TransformerCustomizerFunction<TProps, TBehavior, DiscordRoleColors, SetupDesiredProps<RoleColors, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.scheduledEvent?

TransformerCustomizerFunction<TProps, TBehavior, DiscordScheduledEvent, SetupDesiredProps<ScheduledEvent, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.scheduledEventRecurrenceRule?

TransformerCustomizerFunction<TProps, TBehavior, DiscordScheduledEventRecurrenceRule, SetupDesiredProps<ScheduledEventRecurrenceRule, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.sku?

TransformerCustomizerFunction<TProps, TBehavior, DiscordSku, SetupDesiredProps<Sku, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.soundboardSound?

TransformerCustomizerFunction<TProps, TBehavior, DiscordSoundboardSound, SetupDesiredProps<SoundboardSound, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.stageInstance?

TransformerCustomizerFunction<TProps, TBehavior, DiscordStageInstance, SetupDesiredProps<StageInstance, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.sticker?

TransformerCustomizerFunction<TProps, TBehavior, DiscordSticker, SetupDesiredProps<Sticker, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.stickerPack?

TransformerCustomizerFunction<TProps, TBehavior, DiscordStickerPack, StickerPack, BigStringsToBigints<{ }>>

customizers.subscription?

TransformerCustomizerFunction<TProps, TBehavior, DiscordSubscription, SetupDesiredProps<Subscription, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.team?

TransformerCustomizerFunction<TProps, TBehavior, DiscordTeam, Team, BigStringsToBigints<{ }>>

customizers.template?

TransformerCustomizerFunction<TProps, TBehavior, DiscordTemplate, Template, BigStringsToBigints<{ }>>

customizers.threadMember?

TransformerCustomizerFunction<TProps, TBehavior, DiscordThreadMember, ThreadMember, BigStringsToBigints<ThreadMemberTransformerExtra>>

customizers.threadMemberGuildCreate?

TransformerCustomizerFunction<TProps, TBehavior, DiscordThreadMemberGuildCreate, ThreadMemberGuildCreate, BigStringsToBigints<{ }>>

customizers.unfurledMediaItem?

TransformerCustomizerFunction<TProps, TBehavior, DiscordUnfurledMediaItem, UnfurledMediaItem, BigStringsToBigints<{ }>>

customizers.user?

TransformerCustomizerFunction<TProps, TBehavior, DiscordUser, SetupDesiredProps<User, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.userPrimaryGuild?

TransformerCustomizerFunction<TProps, TBehavior, DiscordUserPrimaryGuild, SetupDesiredProps<UserPrimaryGuild, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.voiceRegion?

TransformerCustomizerFunction<TProps, TBehavior, DiscordVoiceRegion, VoiceRegion, BigStringsToBigints<{ }>>

customizers.voiceState?

TransformerCustomizerFunction<TProps, TBehavior, DiscordVoiceState, SetupDesiredProps<VoiceState, TProps, TBehavior>, BigStringsToBigints<{ guildId?: BigString; }>>

customizers.webhook?

TransformerCustomizerFunction<TProps, TBehavior, DiscordWebhook, SetupDesiredProps<Webhook, TProps, TBehavior>, BigStringsToBigints<{ }>>

customizers.welcomeScreen?

TransformerCustomizerFunction<TProps, TBehavior, DiscordWelcomeScreen, WelcomeScreen, BigStringsToBigints<{ }>>

customizers.widget?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildWidget, GuildWidget, BigStringsToBigints<{ }>>

customizers.widgetSettings?

TransformerCustomizerFunction<TProps, TBehavior, DiscordGuildWidgetSettings, GuildWidgetSettings, BigStringsToBigints<{ }>>

defaultReactionEmoji?

TransformerFunction<TProps, TBehavior, DiscordDefaultReactionEmoji, DefaultReactionEmoji, { }, "desired-props">

desiredProperties?

RecursivePartial<TProps>

embed?

TransformerFunction<TProps, TBehavior, DiscordEmbed, Embed, { }, "unchanged">

emoji?

TransformerFunction<TProps, TBehavior, DiscordEmoji, Emoji, { }, "desired-props">

entitlement?

TransformerFunction<TProps, TBehavior, DiscordEntitlement, Entitlement, { }, "desired-props">

forumTag?

TransformerFunction<TProps, TBehavior, DiscordForumTag, ForumTag, { }, "desired-props">

gatewayBot?

TransformerFunction<TProps, TBehavior, DiscordGetGatewayBot, GetGatewayBot, { }, "unchanged">

guild?

TransformerFunction<TProps, TBehavior, DiscordGuild, Guild, { shardId?: number; }, "desired-props">

guildOnboarding?

TransformerFunction<TProps, TBehavior, DiscordGuildOnboarding, GuildOnboarding, { }, "desired-props">

guildOnboardingPrompt?

TransformerFunction<TProps, TBehavior, DiscordGuildOnboardingPrompt, GuildOnboardingPrompt, { }, "desired-props">

guildOnboardingPromptOption?

TransformerFunction<TProps, TBehavior, DiscordGuildOnboardingPromptOption, GuildOnboardingPromptOption, { }, "desired-props">

incidentsData?

TransformerFunction<TProps, TBehavior, DiscordIncidentsData, IncidentsData, { }, "desired-props">

integration?

TransformerFunction<TProps, TBehavior, DiscordIntegrationCreateUpdate, Integration, { }, "unchanged">

interaction?

TransformerFunction<TProps, TBehavior, DiscordInteraction, Interaction, { shardId?: number; }, "desired-props">

interactionCallback?

TransformerFunction<TProps, TBehavior, DiscordInteractionCallback, InteractionCallback, { }, "desired-props">

interactionCallbackResponse?

TransformerFunction<TProps, TBehavior, DiscordInteractionCallbackResponse, InteractionCallbackResponse, { shardId?: number; }, "desired-props">

interactionDataOptions?

TransformerFunction<TProps, TBehavior, DiscordInteractionDataOption, InteractionDataOption, { }, "unchanged">

interactionDataResolved?

TransformerFunction<TProps, TBehavior, DiscordInteractionDataResolved, InteractionDataResolved, { guildId?: BigString; shardId?: number; }, "transform">

interactionResource?

TransformerFunction<TProps, TBehavior, DiscordInteractionResource, InteractionResource, { shardId?: number; }, "desired-props">

invite?

TransformerFunction<TProps, TBehavior, DiscordInviteMetadata | DiscordInviteCreate, Invite, { shardId?: number; }, "desired-props">

inviteStageInstance?

TransformerFunction<TProps, TBehavior, DiscordInviteStageInstance, InviteStageInstance, { guildId?: BigString; }, "desired-props">

lobby?

TransformerFunction<TProps, TBehavior, DiscordLobby, Lobby, { }, "desired-props">

lobbyMember?

TransformerFunction<TProps, TBehavior, DiscordLobbyMember, LobbyMember, { }, "desired-props">

mediaGalleryItem?

TransformerFunction<TProps, TBehavior, DiscordMediaGalleryItem, MediaGalleryItem, { }, "unchanged">

member?

TransformerFunction<TProps, TBehavior, DiscordMember, Member, { guildId?: BigString; userId?: BigString; }, "desired-props">

message?

TransformerFunction<TProps, TBehavior, DiscordMessage, Message, { shardId?: number; }, "desired-props">

messageCall?

TransformerFunction<TProps, TBehavior, DiscordMessageCall, MessageCall, { }, "desired-props">

messageInteractionMetadata?

TransformerFunction<TProps, TBehavior, DiscordMessageInteractionMetadata, MessageInteractionMetadata, { }, "desired-props">

messagePin?

TransformerFunction<TProps, TBehavior, DiscordMessagePin, MessagePin, { shardId?: number; }, "desired-props">

messageSnapshot?

TransformerFunction<TProps, TBehavior, DiscordMessageSnapshot, MessageSnapshot, { shardId?: number; }, "desired-props">

nameplate?

TransformerFunction<TProps, TBehavior, DiscordNameplate, Nameplate, { }, "desired-props">

poll?

TransformerFunction<TProps, TBehavior, DiscordPoll, Poll, { }, "desired-props">

pollMedia?

TransformerFunction<TProps, TBehavior, DiscordPollMedia, PollMedia, { }, "desired-props">

presence?

TransformerFunction<TProps, TBehavior, DiscordPresenceUpdate, PresenceUpdate, { }, "unchanged">

reverse?

{ activity?: (bot, payload) => DiscordActivity; allowedMentions?: (bot, payload) => DiscordAllowedMentions; application?: (bot, payload) => DiscordApplication; applicationCommand?: (bot, payload) => DiscordApplicationCommand; applicationCommandOption?: (bot, payload) => DiscordApplicationCommandOption; applicationCommandOptionChoice?: (bot, payload) => DiscordApplicationCommandOptionChoice; attachment?: (bot, payload) => DiscordAttachment; component?: (bot, payload) => DiscordMessageComponent | DiscordMessageComponentFromModalInteractionResponse; embed?: (bot, payload) => DiscordEmbed; mediaGalleryItem?: (bot, payload) => DiscordMediaGalleryItem; member?: (bot, payload) => DiscordMember; snowflake?: (snowflake) => string; team?: (bot, payload) => DiscordTeam; unfurledMediaItem?: (bot, payload) => DiscordUnfurledMediaItem; user?: (bot, payload) => DiscordUser; }

reverse.activity?

(bot, payload) => DiscordActivity

reverse.allowedMentions?

(bot, payload) => DiscordAllowedMentions

reverse.application?

(bot, payload) => DiscordApplication

reverse.applicationCommand?

(bot, payload) => DiscordApplicationCommand

reverse.applicationCommandOption?

(bot, payload) => DiscordApplicationCommandOption

reverse.applicationCommandOptionChoice?

(bot, payload) => DiscordApplicationCommandOptionChoice

reverse.attachment?

(bot, payload) => DiscordAttachment

reverse.component?

(bot, payload) => DiscordMessageComponent | DiscordMessageComponentFromModalInteractionResponse

reverse.embed?

(bot, payload) => DiscordEmbed

reverse.mediaGalleryItem?

(bot, payload) => DiscordMediaGalleryItem

reverse.member?

(bot, payload) => DiscordMember

reverse.snowflake?

(snowflake) => string

reverse.team?

(bot, payload) => DiscordTeam

reverse.unfurledMediaItem?

(bot, payload) => DiscordUnfurledMediaItem

reverse.user?

(bot, payload) => DiscordUser

role?

TransformerFunction<TProps, TBehavior, DiscordRole, Role, { guildId?: BigString; }, "desired-props">

roleColors?

TransformerFunction<TProps, TBehavior, DiscordRoleColors, RoleColors, { }, "desired-props">

scheduledEvent?

TransformerFunction<TProps, TBehavior, DiscordScheduledEvent, ScheduledEvent, { }, "desired-props">

scheduledEventRecurrenceRule?

TransformerFunction<TProps, TBehavior, DiscordScheduledEventRecurrenceRule, ScheduledEventRecurrenceRule, { }, "desired-props">

sku?

TransformerFunction<TProps, TBehavior, DiscordSku, Sku, { }, "desired-props">

snowflake?

(snowflake) => bigint

soundboardSound?

TransformerFunction<TProps, TBehavior, DiscordSoundboardSound, SoundboardSound, { }, "desired-props">

stageInstance?

TransformerFunction<TProps, TBehavior, DiscordStageInstance, StageInstance, { }, "desired-props">

sticker?

TransformerFunction<TProps, TBehavior, DiscordSticker, Sticker, { }, "desired-props">

stickerPack?

TransformerFunction<TProps, TBehavior, DiscordStickerPack, StickerPack, { }, "unchanged">

subscription?

TransformerFunction<TProps, TBehavior, DiscordSubscription, Subscription, { }, "desired-props">

team?

TransformerFunction<TProps, TBehavior, DiscordTeam, Team, { }, "unchanged">

template?

TransformerFunction<TProps, TBehavior, DiscordTemplate, Template, { }, "unchanged">

threadMember?

TransformerFunction<TProps, TBehavior, DiscordThreadMember, ThreadMember, ThreadMemberTransformerExtra, "unchanged">

threadMemberGuildCreate?

TransformerFunction<TProps, TBehavior, DiscordThreadMemberGuildCreate, ThreadMemberGuildCreate, { }, "unchanged">

unfurledMediaItem?

TransformerFunction<TProps, TBehavior, DiscordUnfurledMediaItem, UnfurledMediaItem, { }, "unchanged">

user?

TransformerFunction<TProps, TBehavior, DiscordUser, User, { }, "desired-props">

userPrimaryGuild?

TransformerFunction<TProps, TBehavior, DiscordUserPrimaryGuild, UserPrimaryGuild, { }, "desired-props">

voiceRegion?

TransformerFunction<TProps, TBehavior, DiscordVoiceRegion, VoiceRegion, { }, "unchanged">

voiceState?

TransformerFunction<TProps, TBehavior, DiscordVoiceState, VoiceState, { guildId?: BigString; }, "desired-props">

webhook?

TransformerFunction<TProps, TBehavior, DiscordWebhook, Webhook, { }, "desired-props">

welcomeScreen?

TransformerFunction<TProps, TBehavior, DiscordWelcomeScreen, WelcomeScreen, { }, "unchanged">

widget?

TransformerFunction<TProps, TBehavior, DiscordGuildWidget, GuildWidget, { }, "unchanged">

widgetSettings?

TransformerFunction<TProps, TBehavior, DiscordGuildWidgetSettings, GuildWidgetSettings, { }, "unchanged">

Returns

Transformers<TProps, TBehavior>