Skip to main content

createTransformers

@discordeno/botDocs


Documentation / @discordeno/bot / createTransformers

Function: createTransformers()

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

Type Parameters

TProps extends TransformersDesiredProperties

TBehavior extends DesiredPropertiesBehavior

Parameters

options

options.activity?

options.activityInstance?

options.activityLocation?

options.application?

options.applicationCommand?

options.applicationCommandOption?

options.applicationCommandOptionChoice?

options.applicationCommandPermission?

options.attachment?

options.auditLogEntry?

options.automodActionExecution?

options.automodRule?

options.avatarDecorationData?

options.channel?

options.component?

options.customizers?

options.customizers.activity?

options.customizers.activityInstance?

options.customizers.activityLocation?

options.customizers.application?

options.customizers.applicationCommand?

options.customizers.applicationCommandOption?

options.customizers.applicationCommandOptionChoice?

options.customizers.applicationCommandPermission?

options.customizers.attachment?

options.customizers.auditLogEntry?

options.customizers.automodActionExecution?

options.customizers.automodRule?

options.customizers.avatarDecorationData?

options.customizers.channel?

options.customizers.component?

options.customizers.defaultReactionEmoji?

options.customizers.embed?

options.customizers.emoji?

options.customizers.entitlement?

options.customizers.forumTag?

options.customizers.gatewayBot?

options.customizers.guild?

options.customizers.guildOnboarding?

options.customizers.guildOnboardingPrompt?

options.customizers.guildOnboardingPromptOption?

options.customizers.integration?

options.customizers.interaction?

options.customizers.interactionCallback?

options.customizers.interactionCallbackResponse?

options.customizers.interactionDataOptions?

options.customizers.interactionDataResolved?

options.customizers.interactionResource?

options.customizers.invite?

options.customizers.inviteStageInstance?

options.customizers.member?

options.customizers.message?

options.customizers.messageCall?

options.customizers.messageInteractionMetadata?

options.customizers.messageSnapshot?

options.customizers.poll?

options.customizers.pollMedia?

options.customizers.presence?

options.customizers.role?

options.customizers.scheduledEvent?

options.customizers.scheduledEventRecurrenceRule?

options.customizers.sku?

options.customizers.soundboardSound?

options.customizers.stageInstance?

options.customizers.sticker?

options.customizers.stickerPack?

options.customizers.subscription?

options.customizers.team?

options.customizers.template?

options.customizers.threadMember?

options.customizers.threadMemberGuildCreate?

options.customizers.user?

options.customizers.voiceRegion?

options.customizers.voiceState?

options.customizers.webhook?

options.customizers.welcomeScreen?

options.customizers.widget?

options.customizers.widgetSettings?

options.defaultReactionEmoji?

options.desiredProperties?

options.desiredProperties.activityInstance?

options.desiredProperties.activityInstance.applicationId: undefined | boolean

options.desiredProperties.activityInstance.instanceId: undefined | boolean

options.desiredProperties.activityInstance.launchId: undefined | boolean

options.desiredProperties.activityInstance.location: undefined | boolean

options.desiredProperties.activityInstance.users: undefined | boolean

options.desiredProperties.activityLocation?

options.desiredProperties.activityLocation.channelId: undefined | boolean

options.desiredProperties.activityLocation.guildId: undefined | boolean

options.desiredProperties.activityLocation.id: undefined | boolean

options.desiredProperties.activityLocation.kind: undefined | boolean

options.desiredProperties.attachment?

options.desiredProperties.attachment.contentType: undefined | boolean

options.desiredProperties.attachment.description: undefined | boolean

options.desiredProperties.attachment.duration_secs: undefined | boolean

options.desiredProperties.attachment.ephemeral: undefined | boolean

options.desiredProperties.attachment.filename: undefined | boolean

options.desiredProperties.attachment.flags: undefined | boolean

options.desiredProperties.attachment.height: undefined | boolean

options.desiredProperties.attachment.id: undefined | boolean

options.desiredProperties.attachment.proxyUrl: undefined | boolean

options.desiredProperties.attachment.size: undefined | boolean

options.desiredProperties.attachment.title: undefined | boolean

options.desiredProperties.attachment.url: undefined | boolean

options.desiredProperties.attachment.waveform: undefined | boolean

options.desiredProperties.attachment.width: undefined | boolean

options.desiredProperties.avatarDecorationData?

options.desiredProperties.avatarDecorationData.asset: undefined | boolean

options.desiredProperties.avatarDecorationData.skuId: undefined | boolean

options.desiredProperties.channel?

options.desiredProperties.channel.applicationId: undefined | boolean

options.desiredProperties.channel.appliedTags: undefined | boolean

options.desiredProperties.channel.availableTags: undefined | boolean

options.desiredProperties.channel.bitrate: undefined | boolean

options.desiredProperties.channel.defaultAutoArchiveDuration: undefined | boolean

options.desiredProperties.channel.defaultForumLayout: undefined | boolean

options.desiredProperties.channel.defaultReactionEmoji: undefined | boolean

options.desiredProperties.channel.defaultSortOrder: undefined | boolean

options.desiredProperties.channel.defaultThreadRateLimitPerUser: undefined | boolean

options.desiredProperties.channel.flags: undefined | boolean

options.desiredProperties.channel.guildId: undefined | boolean

options.desiredProperties.channel.icon: undefined | boolean

options.desiredProperties.channel.id: undefined | boolean

options.desiredProperties.channel.lastMessageId: undefined | boolean

options.desiredProperties.channel.lastPinTimestamp: undefined | boolean

options.desiredProperties.channel.member: undefined | boolean

options.desiredProperties.channel.memberCount: undefined | boolean

options.desiredProperties.channel.messageCount: undefined | boolean

options.desiredProperties.channel.name: undefined | boolean

options.desiredProperties.channel.ownerId: undefined | boolean

options.desiredProperties.channel.parentId: undefined | boolean

options.desiredProperties.channel.permissionOverwrites: undefined | boolean

options.desiredProperties.channel.permissions: undefined | boolean

options.desiredProperties.channel.position: undefined | boolean

options.desiredProperties.channel.rateLimitPerUser: undefined | boolean

options.desiredProperties.channel.recipients: undefined | boolean

options.desiredProperties.channel.rtcRegion: undefined | boolean

options.desiredProperties.channel.threadMetadata: undefined | boolean

options.desiredProperties.channel.topic: undefined | boolean

options.desiredProperties.channel.totalMessageSent: undefined | boolean

options.desiredProperties.channel.type: undefined | boolean

options.desiredProperties.channel.userLimit: undefined | boolean

options.desiredProperties.channel.videoQualityMode: undefined | boolean

options.desiredProperties.defaultReactionEmoji?

options.desiredProperties.defaultReactionEmoji.emojiId: undefined | boolean

options.desiredProperties.defaultReactionEmoji.emojiName: undefined | boolean

options.desiredProperties.emoji?

options.desiredProperties.emoji.id: undefined | boolean

options.desiredProperties.emoji.name: undefined | boolean

options.desiredProperties.emoji.roles: undefined | boolean

options.desiredProperties.emoji.user: undefined | boolean

options.desiredProperties.entitlement?

options.desiredProperties.entitlement.applicationId: undefined | boolean

options.desiredProperties.entitlement.consumed: undefined | boolean

options.desiredProperties.entitlement.deleted: undefined | boolean

options.desiredProperties.entitlement.endsAt: undefined | boolean

options.desiredProperties.entitlement.guildId: undefined | boolean

options.desiredProperties.entitlement.id: undefined | boolean

options.desiredProperties.entitlement.skuId: undefined | boolean

options.desiredProperties.entitlement.startsAt: undefined | boolean

options.desiredProperties.entitlement.type: undefined | boolean

options.desiredProperties.entitlement.userId: undefined | boolean

options.desiredProperties.forumTag?

options.desiredProperties.forumTag.emojiId: undefined | boolean

options.desiredProperties.forumTag.emojiName: undefined | boolean

options.desiredProperties.forumTag.id: undefined | boolean

options.desiredProperties.forumTag.moderated: undefined | boolean

options.desiredProperties.forumTag.name: undefined | boolean

options.desiredProperties.guild?

options.desiredProperties.guild.afkChannelId: undefined | boolean

options.desiredProperties.guild.afkTimeout: undefined | boolean

options.desiredProperties.guild.applicationId: undefined | boolean

options.desiredProperties.guild.approximateMemberCount: undefined | boolean

options.desiredProperties.guild.approximatePresenceCount: undefined | boolean

options.desiredProperties.guild.banner: undefined | boolean

options.desiredProperties.guild.channels: undefined | boolean

options.desiredProperties.guild.defaultMessageNotifications: undefined | boolean

options.desiredProperties.guild.description: undefined | boolean

options.desiredProperties.guild.discoverySplash: undefined | boolean

options.desiredProperties.guild.emojis: undefined | boolean

options.desiredProperties.guild.explicitContentFilter: undefined | boolean

options.desiredProperties.guild.icon: undefined | boolean

options.desiredProperties.guild.iconHash: undefined | boolean

options.desiredProperties.guild.id: undefined | boolean

options.desiredProperties.guild.joinedAt: undefined | boolean

options.desiredProperties.guild.large: undefined | boolean

options.desiredProperties.guild.maxMembers: undefined | boolean

options.desiredProperties.guild.maxPresences: undefined | boolean

options.desiredProperties.guild.maxStageVideoChannelUsers: undefined | boolean

options.desiredProperties.guild.maxVideoChannelUsers: undefined | boolean

options.desiredProperties.guild.memberCount: undefined | boolean

options.desiredProperties.guild.members: undefined | boolean

options.desiredProperties.guild.mfaLevel: undefined | boolean

options.desiredProperties.guild.name: undefined | boolean

options.desiredProperties.guild.nsfwLevel: undefined | boolean

options.desiredProperties.guild.owner: undefined | boolean

options.desiredProperties.guild.ownerId: undefined | boolean

options.desiredProperties.guild.permissions: undefined | boolean

options.desiredProperties.guild.preferredLocale: undefined | boolean

options.desiredProperties.guild.premiumProgressBarEnabled: undefined | boolean

options.desiredProperties.guild.premiumSubscriptionCount: undefined | boolean

options.desiredProperties.guild.premiumTier: undefined | boolean

options.desiredProperties.guild.presences: undefined | boolean

options.desiredProperties.guild.publicUpdatesChannelId: undefined | boolean

options.desiredProperties.guild.roles: undefined | boolean

options.desiredProperties.guild.rulesChannelId: undefined | boolean

options.desiredProperties.guild.safetyAlertsChannelId: undefined | boolean

options.desiredProperties.guild.shardId: undefined | boolean

options.desiredProperties.guild.splash: undefined | boolean

options.desiredProperties.guild.stageInstances: undefined | boolean

options.desiredProperties.guild.stickers: undefined | boolean

options.desiredProperties.guild.systemChannelFlags: undefined | boolean

options.desiredProperties.guild.systemChannelId: undefined | boolean

options.desiredProperties.guild.toggles: undefined | boolean

options.desiredProperties.guild.unavailable: undefined | boolean

options.desiredProperties.guild.vanityUrlCode: undefined | boolean

options.desiredProperties.guild.verificationLevel: undefined | boolean

options.desiredProperties.guild.voiceStates: undefined | boolean

options.desiredProperties.guild.welcomeScreen: undefined | boolean

options.desiredProperties.guild.widgetChannelId: undefined | boolean

options.desiredProperties.guild.widgetEnabled: undefined | boolean

options.desiredProperties.guildOnboarding?

options.desiredProperties.guildOnboarding.defaultChannelIds: undefined | boolean

options.desiredProperties.guildOnboarding.enabled: undefined | boolean

options.desiredProperties.guildOnboarding.guildId: undefined | boolean

options.desiredProperties.guildOnboarding.mode: undefined | boolean

options.desiredProperties.guildOnboarding.prompts: undefined | boolean

options.desiredProperties.guildOnboardingPrompt?

options.desiredProperties.guildOnboardingPrompt.id: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.inOnboarding: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.options: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.required: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.singleSelect: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.title: undefined | boolean

options.desiredProperties.guildOnboardingPrompt.type: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption?

options.desiredProperties.guildOnboardingPromptOption.channelIds: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption.description: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption.emoji: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption.id: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption.roleIds: undefined | boolean

options.desiredProperties.guildOnboardingPromptOption.title: undefined | boolean

options.desiredProperties.interaction?

options.desiredProperties.interaction.applicationId: undefined | boolean

options.desiredProperties.interaction.appPermissions: undefined | boolean

options.desiredProperties.interaction.authorizingIntegrationOwners: undefined | boolean

options.desiredProperties.interaction.channel: undefined | boolean

options.desiredProperties.interaction.channelId: undefined | boolean

options.desiredProperties.interaction.context: undefined | boolean

options.desiredProperties.interaction.data: undefined | boolean

options.desiredProperties.interaction.guild: undefined | boolean

options.desiredProperties.interaction.guildId: undefined | boolean

options.desiredProperties.interaction.guildLocale: undefined | boolean

options.desiredProperties.interaction.id: undefined | boolean

options.desiredProperties.interaction.locale: undefined | boolean

options.desiredProperties.interaction.member: undefined | boolean

options.desiredProperties.interaction.message: undefined | boolean

options.desiredProperties.interaction.token: undefined | boolean

options.desiredProperties.interaction.type: undefined | boolean

options.desiredProperties.interaction.user: undefined | boolean

options.desiredProperties.interaction.version: undefined | boolean

options.desiredProperties.interactionCallback?

options.desiredProperties.interactionCallback.activityInstanceId: undefined | boolean

options.desiredProperties.interactionCallback.id: undefined | boolean

options.desiredProperties.interactionCallback.responseMessageEphemeral: undefined | boolean

options.desiredProperties.interactionCallback.responseMessageId: undefined | boolean

options.desiredProperties.interactionCallback.responseMessageLoading: undefined | boolean

options.desiredProperties.interactionCallback.type: undefined | boolean

options.desiredProperties.interactionCallbackResponse?

options.desiredProperties.interactionCallbackResponse.interaction: undefined | boolean

options.desiredProperties.interactionCallbackResponse.resource: undefined | boolean

options.desiredProperties.interactionResource?

options.desiredProperties.interactionResource.activityInstance: undefined | boolean

options.desiredProperties.interactionResource.message: undefined | boolean

options.desiredProperties.interactionResource.type: undefined | boolean

options.desiredProperties.invite?

options.desiredProperties.invite.approximateMemberCount: undefined | boolean

options.desiredProperties.invite.approximatePresenceCount: undefined | boolean

options.desiredProperties.invite.channelId: undefined | boolean

options.desiredProperties.invite.code: undefined | boolean

options.desiredProperties.invite.createdAt: undefined | boolean

options.desiredProperties.invite.expiresAt: undefined | boolean

options.desiredProperties.invite.guildId: undefined | boolean

options.desiredProperties.invite.guildScheduledEvent: undefined | boolean

options.desiredProperties.invite.inviter: undefined | boolean

options.desiredProperties.invite.maxAge: undefined | boolean

options.desiredProperties.invite.maxUses: undefined | boolean

options.desiredProperties.invite.stageInstance: undefined | boolean

options.desiredProperties.invite.targetApplication: undefined | boolean

options.desiredProperties.invite.targetType: undefined | boolean

options.desiredProperties.invite.targetUser: undefined | boolean

options.desiredProperties.invite.temporary: undefined | boolean

options.desiredProperties.invite.type: undefined | boolean

options.desiredProperties.invite.uses: undefined | boolean

options.desiredProperties.inviteStageInstance?

options.desiredProperties.inviteStageInstance.members: undefined | boolean

options.desiredProperties.inviteStageInstance.participantCount: undefined | boolean

options.desiredProperties.inviteStageInstance.speakerCount: undefined | boolean

options.desiredProperties.inviteStageInstance.topic: undefined | boolean

options.desiredProperties.member?

options.desiredProperties.member.avatar: undefined | boolean

options.desiredProperties.member.avatarDecorationData: undefined | boolean

options.desiredProperties.member.banner: undefined | boolean

options.desiredProperties.member.communicationDisabledUntil: undefined | boolean

options.desiredProperties.member.guildId: undefined | boolean

options.desiredProperties.member.id: undefined | boolean

options.desiredProperties.member.joinedAt: undefined | boolean

options.desiredProperties.member.nick: undefined | boolean

options.desiredProperties.member.permissions: undefined | boolean

options.desiredProperties.member.premiumSince: undefined | boolean

options.desiredProperties.member.roles: undefined | boolean

options.desiredProperties.member.toggles: undefined | boolean

options.desiredProperties.member.user: undefined | boolean

options.desiredProperties.message?

options.desiredProperties.message.activity: undefined | boolean

options.desiredProperties.message.application: undefined | boolean

options.desiredProperties.message.applicationId: undefined | boolean

options.desiredProperties.message.attachments: undefined | boolean

options.desiredProperties.message.author: undefined | boolean

options.desiredProperties.message.call: undefined | boolean

options.desiredProperties.message.channelId: undefined | boolean

options.desiredProperties.message.components: undefined | boolean

options.desiredProperties.message.content: undefined | boolean

options.desiredProperties.message.editedTimestamp: undefined | boolean

options.desiredProperties.message.embeds: undefined | boolean

options.desiredProperties.message.guildId: undefined | boolean

options.desiredProperties.message.id: undefined | boolean

options.desiredProperties.message.interaction: undefined | boolean

options.desiredProperties.message.interactionMetadata: undefined | boolean

options.desiredProperties.message.member: undefined | boolean

options.desiredProperties.message.mentionedChannelIds: undefined | boolean

options.desiredProperties.message.mentionedRoleIds: undefined | boolean

options.desiredProperties.message.mentions: undefined | boolean

options.desiredProperties.message.messageReference: undefined | boolean

options.desiredProperties.message.messageSnapshots: undefined | boolean

options.desiredProperties.message.nonce: undefined | boolean

options.desiredProperties.message.poll: undefined | boolean

options.desiredProperties.message.reactions: undefined | boolean

options.desiredProperties.message.referencedMessage: undefined | boolean

options.desiredProperties.message.stickerItems: undefined | boolean

options.desiredProperties.message.thread: undefined | boolean

options.desiredProperties.message.type: undefined | boolean

options.desiredProperties.message.webhookId: undefined | boolean

options.desiredProperties.messageCall?

options.desiredProperties.messageCall.endedTimestamp: undefined | boolean

options.desiredProperties.messageCall.participants: undefined | boolean

options.desiredProperties.messageInteraction?

options.desiredProperties.messageInteraction.id: undefined | boolean

options.desiredProperties.messageInteraction.member: undefined | boolean

options.desiredProperties.messageInteraction.name: undefined | boolean

options.desiredProperties.messageInteraction.type: undefined | boolean

options.desiredProperties.messageInteraction.user: undefined | boolean

options.desiredProperties.messageInteractionMetadata?

options.desiredProperties.messageInteractionMetadata.authorizingIntegrationOwners: undefined | boolean

options.desiredProperties.messageInteractionMetadata.id: undefined | boolean

options.desiredProperties.messageInteractionMetadata.interactedMessageId: undefined | boolean

options.desiredProperties.messageInteractionMetadata.originalResponseMessageId: undefined | boolean

options.desiredProperties.messageInteractionMetadata.targetMessageId: undefined | boolean

options.desiredProperties.messageInteractionMetadata.targetUser: undefined | boolean

options.desiredProperties.messageInteractionMetadata.triggeringInteractionMetadata: undefined | boolean

options.desiredProperties.messageInteractionMetadata.type: undefined | boolean

options.desiredProperties.messageInteractionMetadata.user: undefined | boolean

options.desiredProperties.messageReference?

options.desiredProperties.messageReference.channelId: undefined | boolean

options.desiredProperties.messageReference.guildId: undefined | boolean

options.desiredProperties.messageReference.messageId: undefined | boolean

options.desiredProperties.messageSnapshot?

options.desiredProperties.messageSnapshot.message: undefined | boolean

options.desiredProperties.poll?

options.desiredProperties.poll.allowMultiselect: undefined | boolean

options.desiredProperties.poll.answers: undefined | boolean

options.desiredProperties.poll.expiry: undefined | boolean

options.desiredProperties.poll.layoutType: undefined | boolean

options.desiredProperties.poll.question: undefined | boolean

options.desiredProperties.poll.results: undefined | boolean

options.desiredProperties.pollAnswer?

options.desiredProperties.pollAnswer.answerId: undefined | boolean

options.desiredProperties.pollAnswer.pollMedia: undefined | boolean

options.desiredProperties.pollAnswerCount?

options.desiredProperties.pollAnswerCount.count: undefined | boolean

options.desiredProperties.pollAnswerCount.id: undefined | boolean

options.desiredProperties.pollAnswerCount.meVoted: undefined | boolean

options.desiredProperties.pollMedia?

options.desiredProperties.pollMedia.emoji: undefined | boolean

options.desiredProperties.pollMedia.text: undefined | boolean

options.desiredProperties.pollResult?

options.desiredProperties.pollResult.answerCounts: undefined | boolean

options.desiredProperties.pollResult.isFinalized: undefined | boolean

options.desiredProperties.role?

options.desiredProperties.role.color: undefined | boolean

options.desiredProperties.role.flags: undefined | boolean

options.desiredProperties.role.guildId: undefined | boolean

options.desiredProperties.role.icon: undefined | boolean

options.desiredProperties.role.id: undefined | boolean

options.desiredProperties.role.name: undefined | boolean

options.desiredProperties.role.permissions: undefined | boolean

options.desiredProperties.role.position: undefined | boolean

options.desiredProperties.role.tags: undefined | boolean

options.desiredProperties.role.toggles: undefined | boolean

options.desiredProperties.role.unicodeEmoji: undefined | boolean

options.desiredProperties.scheduledEvent?

options.desiredProperties.scheduledEvent.channelId: undefined | boolean

options.desiredProperties.scheduledEvent.creator: undefined | boolean

options.desiredProperties.scheduledEvent.creatorId: undefined | boolean

options.desiredProperties.scheduledEvent.description: undefined | boolean

options.desiredProperties.scheduledEvent.entityId: undefined | boolean

options.desiredProperties.scheduledEvent.entityType: undefined | boolean

options.desiredProperties.scheduledEvent.guildId: undefined | boolean

options.desiredProperties.scheduledEvent.id: undefined | boolean

options.desiredProperties.scheduledEvent.image: undefined | boolean

options.desiredProperties.scheduledEvent.location: undefined | boolean

options.desiredProperties.scheduledEvent.name: undefined | boolean

options.desiredProperties.scheduledEvent.privacyLevel: undefined | boolean

options.desiredProperties.scheduledEvent.recurrenceRule: undefined | boolean

options.desiredProperties.scheduledEvent.scheduledEndTime: undefined | boolean

options.desiredProperties.scheduledEvent.scheduledStartTime: undefined | boolean

options.desiredProperties.scheduledEvent.status: undefined | boolean

options.desiredProperties.scheduledEvent.userCount: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule?

options.desiredProperties.scheduledEventRecurrenceRule.byMonth: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.byMonthDay: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.byNWeekday: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.byWeekday: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.byYearDay: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.count: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.end: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.frequency: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.interval: undefined | boolean

options.desiredProperties.scheduledEventRecurrenceRule.start: undefined | boolean

options.desiredProperties.sku?

options.desiredProperties.sku.applicationId: undefined | boolean

options.desiredProperties.sku.flags: undefined | boolean

options.desiredProperties.sku.id: undefined | boolean

options.desiredProperties.sku.name: undefined | boolean

options.desiredProperties.sku.slug: undefined | boolean

options.desiredProperties.sku.type: undefined | boolean

options.desiredProperties.soundboardSound?

options.desiredProperties.soundboardSound.available: undefined | boolean

options.desiredProperties.soundboardSound.emojiId: undefined | boolean

options.desiredProperties.soundboardSound.emojiName: undefined | boolean

options.desiredProperties.soundboardSound.guildId: undefined | boolean

options.desiredProperties.soundboardSound.name: undefined | boolean

options.desiredProperties.soundboardSound.soundId: undefined | boolean

options.desiredProperties.soundboardSound.user: undefined | boolean

options.desiredProperties.soundboardSound.volume: undefined | boolean

options.desiredProperties.stageInstance?

options.desiredProperties.stageInstance.channelId: undefined | boolean

options.desiredProperties.stageInstance.guildId: undefined | boolean

options.desiredProperties.stageInstance.guildScheduledEventId: undefined | boolean

options.desiredProperties.stageInstance.id: undefined | boolean

options.desiredProperties.stageInstance.topic: undefined | boolean

options.desiredProperties.sticker?

options.desiredProperties.sticker.available: undefined | boolean

options.desiredProperties.sticker.description: undefined | boolean

options.desiredProperties.sticker.formatType: undefined | boolean

options.desiredProperties.sticker.guildId: undefined | boolean

options.desiredProperties.sticker.id: undefined | boolean

options.desiredProperties.sticker.name: undefined | boolean

options.desiredProperties.sticker.packId: undefined | boolean

options.desiredProperties.sticker.sortValue: undefined | boolean

options.desiredProperties.sticker.tags: undefined | boolean

options.desiredProperties.sticker.type: undefined | boolean

options.desiredProperties.sticker.user: undefined | boolean

options.desiredProperties.subscription?

options.desiredProperties.subscription.canceledAt: undefined | boolean

options.desiredProperties.subscription.country: undefined | boolean

options.desiredProperties.subscription.currentPeriodEnd: undefined | boolean

options.desiredProperties.subscription.currentPeriodStart: undefined | boolean

options.desiredProperties.subscription.entitlementIds: undefined | boolean

options.desiredProperties.subscription.id: undefined | boolean

options.desiredProperties.subscription.skuIds: undefined | boolean

options.desiredProperties.subscription.status: undefined | boolean

options.desiredProperties.subscription.userId: undefined | boolean

options.desiredProperties.user?

options.desiredProperties.user.accentColor: undefined | boolean

options.desiredProperties.user.avatar: undefined | boolean

options.desiredProperties.user.avatarDecorationData: undefined | boolean

options.desiredProperties.user.banner: undefined | boolean

options.desiredProperties.user.discriminator: undefined | boolean

options.desiredProperties.user.email: undefined | boolean

options.desiredProperties.user.flags: undefined | boolean

options.desiredProperties.user.globalName: undefined | boolean

options.desiredProperties.user.id: undefined | boolean

options.desiredProperties.user.locale: undefined | boolean

options.desiredProperties.user.premiumType: undefined | boolean

options.desiredProperties.user.publicFlags: undefined | boolean

options.desiredProperties.user.toggles: undefined | boolean

options.desiredProperties.user.username: undefined | boolean

options.desiredProperties.voiceState?

options.desiredProperties.voiceState.channelId: undefined | boolean

options.desiredProperties.voiceState.guildId: undefined | boolean

options.desiredProperties.voiceState.requestToSpeakTimestamp: undefined | boolean

options.desiredProperties.voiceState.sessionId: undefined | boolean

options.desiredProperties.voiceState.toggles: undefined | boolean

options.desiredProperties.voiceState.userId: undefined | boolean

options.desiredProperties.webhook?

options.desiredProperties.webhook.applicationId: undefined | boolean

options.desiredProperties.webhook.avatar: undefined | boolean

options.desiredProperties.webhook.channelId: undefined | boolean

options.desiredProperties.webhook.guildId: undefined | boolean

options.desiredProperties.webhook.id: undefined | boolean

options.desiredProperties.webhook.name: undefined | boolean

options.desiredProperties.webhook.sourceChannel: undefined | boolean

options.desiredProperties.webhook.sourceGuild: undefined | boolean

options.desiredProperties.webhook.token: undefined | boolean

options.desiredProperties.webhook.type: undefined | boolean

options.desiredProperties.webhook.url: undefined | boolean

options.desiredProperties.webhook.user: undefined | boolean

options.embed?

options.emoji?

options.entitlement?

options.forumTag?

options.gatewayBot?

options.guild?

options.guildOnboarding?

options.guildOnboardingPrompt?

options.guildOnboardingPromptOption?

options.integration?

options.interaction?

options.interactionCallback?

options.interactionCallbackResponse?

options.interactionDataOptions?

options.interactionDataResolved?

options.interactionResource?

options.invite?

options.inviteStageInstance?

options.member?

options.message?

options.messageCall?

options.messageInteractionMetadata?

options.messageSnapshot?

options.poll?

options.pollMedia?

options.presence?

options.reverse?

options.reverse.activity?

options.reverse.allowedMentions?

options.reverse.application?

options.reverse.applicationCommand?

options.reverse.applicationCommandOption?

options.reverse.applicationCommandOptionChoice?

options.reverse.attachment?

options.reverse.component?

options.reverse.createApplicationCommand?

options.reverse.embed?

options.reverse.member?

options.reverse.snowflake?

options.reverse.team?

options.reverse.user?

options.role?

options.scheduledEvent?

options.scheduledEventRecurrenceRule?

options.sku?

options.snowflake?

options.soundboardSound?

options.stageInstance?

options.sticker?

options.stickerPack?

options.subscription?

options.team?

options.template?

options.threadMember?

options.threadMemberGuildCreate?

options.user?

options.voiceRegion?

options.voiceState?

options.webhook?

options.welcomeScreen?

options.widget?

options.widgetSettings?

Returns

Transformers<TProps, TBehavior>

Defined in

packages/bot/src/transformers.ts:419