Skip to main content

createTransformers

@discordeno/bot


Documentation / @discordeno/bot / createTransformers

Function: createTransformers()

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

Defined in: packages/bot/src/transformers.ts:513

Type Parameters

TProps extends TransformersDesiredProperties

TBehavior extends DesiredPropertiesBehavior

Parameters

options

activity

(bot, payload) => Activity

activityInstance

(bot, payload) => SetupDesiredProps<ActivityInstance, TProps, TBehavior>

activityLocation

(bot, payload) => SetupDesiredProps<ActivityLocation, TProps, TBehavior>

application

(bot, payload) => Application

applicationCommand

(bot, payload) => ApplicationCommand

applicationCommandOption

(bot, payload) => ApplicationCommandOption

applicationCommandOptionChoice

(bot, payload) => ApplicationCommandOptionChoice

applicationCommandPermission

(bot, payload) => GuildApplicationCommandPermissions

attachment

(bot, payload) => SetupDesiredProps<Attachment, TProps, TBehavior>

auditLogEntry

(bot, payload) => AuditLogEntry

automodActionExecution

(bot, payload) => AutoModerationActionExecution

automodRule

(bot, payload) => AutoModerationRule

avatarDecorationData

(bot, payload) => SetupDesiredProps<AvatarDecorationData, TProps, TBehavior>

channel

(bot, payload) => SetupDesiredProps<Channel, TProps, TBehavior>

component

(bot, payload) => Component

customizers

{ activity: (bot, payload, activity) => any; activityInstance: (bot, payload, activityInstance) => any; activityLocation: (bot, payload, activityLocation) => any; application: (bot, payload, application) => any; applicationCommand: (bot, payload, applicationCommand) => any; applicationCommandOption: (bot, payload, applicationCommandOption) => any; applicationCommandOptionChoice: (bot, payload, applicationCommandOptionChoice) => any; applicationCommandPermission: (bot, payload, applicationCommandPermission) => any; attachment: (bot, payload, attachment) => any; auditLogEntry: (bot, payload, auditLogEntry) => any; automodActionExecution: (bot, payload, automodActionExecution) => any; automodRule: (bot, payload, automodRule) => any; avatarDecorationData: (bot, payload, avatarDecorationData) => any; channel: (bot, payload, channel) => any; component: (bot, payload, component) => any; defaultReactionEmoji: (bot, payload, defaultReactionEmoji) => any; embed: (bot, payload, embed) => any; emoji: (bot, payload, emoji) => any; entitlement: (bot, payload, entitlement) => any; forumTag: (bot, payload, forumTag) => any; gatewayBot: (bot, payload, getGatewayBot) => any; guild: (bot, payload, guild) => any; guildOnboarding: (bot, payload, onboarding) => any; guildOnboardingPrompt: (bot, payload, onboardingPrompt) => any; guildOnboardingPromptOption: (bot, payload, onboardingPromptOption) => any; integration: (bot, payload, integration) => any; interaction: (bot, payload, interaction) => any; interactionCallback: (bot, payload, interactionCallback) => any; interactionCallbackResponse: (bot, payload, interactionCallbackResponse) => any; interactionDataOptions: (bot, payload, interactionDataOptions) => any; interactionDataResolved: (bot, payload, interactionDataResolved) => any; interactionResource: (bot, payload, interactionResource) => any; invite: (bot, payload, invite) => any; inviteStageInstance: (bot, payload, inviteStageInstance) => any; member: (bot, payload, member) => any; message: (bot, payload, message) => any; messageCall: (bot, payload, call) => any; messageInteractionMetadata: (bot, payload, metadata) => any; messageSnapshot: (bot, payload, messageSnapshot) => any; poll: (bot, payload, poll) => any; pollMedia: (bot, payload, pollMedia) => any; presence: (bot, payload, presence) => any; role: (bot, payload, role) => any; scheduledEvent: (bot, payload, scheduledEvent) => any; scheduledEventRecurrenceRule: (bot, payload, scheduledEvent) => any; sku: (bot, payload, sku) => any; soundboardSound: (bot, payload, soundboardSound) => any; stageInstance: (bot, payload, stageInstance) => any; sticker: (bot, payload, sticker) => any; stickerPack: (bot, payload, stickerPack) => any; subscription: (bot, payload, subscription) => any; team: (bot, payload, team) => any; template: (bot, payload, template) => any; threadMember: (bot, payload, threadMember) => any; threadMemberGuildCreate: (bot, payload, threadMemberGuildCreate) => any; user: (bot, payload, user) => any; voiceRegion: (bot, payload, voiceRegion) => any; voiceState: (bot, payload, voiceState) => any; webhook: (bot, payload, webhook) => any; welcomeScreen: (bot, payload, welcomeScreen) => any; widget: (bot, payload, widget) => any; widgetSettings: (bot, payload, widgetSettings) => any; }

customizers.activity

(bot, payload, activity) => any

customizers.activityInstance

(bot, payload, activityInstance) => any

customizers.activityLocation

(bot, payload, activityLocation) => any

customizers.application

(bot, payload, application) => any

customizers.applicationCommand

(bot, payload, applicationCommand) => any

customizers.applicationCommandOption

(bot, payload, applicationCommandOption) => any

customizers.applicationCommandOptionChoice

(bot, payload, applicationCommandOptionChoice) => any

customizers.applicationCommandPermission

(bot, payload, applicationCommandPermission) => any

customizers.attachment

(bot, payload, attachment) => any

customizers.auditLogEntry

(bot, payload, auditLogEntry) => any

customizers.automodActionExecution

(bot, payload, automodActionExecution) => any

customizers.automodRule

(bot, payload, automodRule) => any

customizers.avatarDecorationData

(bot, payload, avatarDecorationData) => any

customizers.channel

(bot, payload, channel) => any

customizers.component

(bot, payload, component) => any

customizers.defaultReactionEmoji

(bot, payload, defaultReactionEmoji) => any

customizers.embed

(bot, payload, embed) => any

customizers.emoji

(bot, payload, emoji) => any

customizers.entitlement

(bot, payload, entitlement) => any

customizers.forumTag

(bot, payload, forumTag) => any

customizers.gatewayBot

(bot, payload, getGatewayBot) => any

customizers.guild

(bot, payload, guild) => any

customizers.guildOnboarding

(bot, payload, onboarding) => any

customizers.guildOnboardingPrompt

(bot, payload, onboardingPrompt) => any

customizers.guildOnboardingPromptOption

(bot, payload, onboardingPromptOption) => any

customizers.integration

(bot, payload, integration) => any

customizers.interaction

(bot, payload, interaction) => any

customizers.interactionCallback

(bot, payload, interactionCallback) => any

customizers.interactionCallbackResponse

(bot, payload, interactionCallbackResponse) => any

customizers.interactionDataOptions

(bot, payload, interactionDataOptions) => any

customizers.interactionDataResolved

(bot, payload, interactionDataResolved) => any

customizers.interactionResource

(bot, payload, interactionResource) => any

customizers.invite

(bot, payload, invite) => any

customizers.inviteStageInstance

(bot, payload, inviteStageInstance) => any

customizers.member

(bot, payload, member) => any

customizers.message

(bot, payload, message) => any

customizers.messageCall

(bot, payload, call) => any

customizers.messageInteractionMetadata

(bot, payload, metadata) => any

customizers.messageSnapshot

(bot, payload, messageSnapshot) => any

customizers.poll

(bot, payload, poll) => any

customizers.pollMedia

(bot, payload, pollMedia) => any

customizers.presence

(bot, payload, presence) => any

customizers.role

(bot, payload, role) => any

customizers.scheduledEvent

(bot, payload, scheduledEvent) => any

customizers.scheduledEventRecurrenceRule

(bot, payload, scheduledEvent) => any

customizers.sku

(bot, payload, sku) => any

customizers.soundboardSound

(bot, payload, soundboardSound) => any

customizers.stageInstance

(bot, payload, stageInstance) => any

customizers.sticker

(bot, payload, sticker) => any

customizers.stickerPack

(bot, payload, stickerPack) => any

customizers.subscription

(bot, payload, subscription) => any

customizers.team

(bot, payload, team) => any

customizers.template

(bot, payload, template) => any

customizers.threadMember

(bot, payload, threadMember) => any

customizers.threadMemberGuildCreate

(bot, payload, threadMemberGuildCreate) => any

customizers.user

(bot, payload, user) => any

customizers.voiceRegion

(bot, payload, voiceRegion) => any

customizers.voiceState

(bot, payload, voiceState) => any

customizers.webhook

(bot, payload, webhook) => any

customizers.welcomeScreen

(bot, payload, welcomeScreen) => any

customizers.widget

(bot, payload, widget) => any

customizers.widgetSettings

(bot, payload, widgetSettings) => any

defaultReactionEmoji

(bot, payload) => SetupDesiredProps<DefaultReactionEmoji, TProps, TBehavior>

desiredProperties

{ activityInstance: { applicationId: boolean; instanceId: boolean; launchId: boolean; location: boolean; users: boolean; }; activityLocation: { channelId: boolean; guildId: boolean; id: boolean; kind: boolean; }; attachment: { contentType: boolean; description: boolean; duration_secs: boolean; ephemeral: boolean; filename: boolean; flags: boolean; height: boolean; id: boolean; proxyUrl: boolean; size: boolean; title: boolean; url: boolean; waveform: boolean; width: boolean; }; avatarDecorationData: { asset: boolean; skuId: boolean; }; channel: { applicationId: boolean; appliedTags: boolean; availableTags: boolean; bitrate: boolean; defaultAutoArchiveDuration: boolean; defaultForumLayout: boolean; defaultReactionEmoji: boolean; defaultSortOrder: boolean; defaultThreadRateLimitPerUser: boolean; flags: boolean; guildId: boolean; icon: boolean; id: boolean; lastMessageId: boolean; lastPinTimestamp: boolean; member: boolean; memberCount: boolean; messageCount: boolean; name: boolean; ownerId: boolean; parentId: boolean; permissionOverwrites: boolean; permissions: boolean; position: boolean; rateLimitPerUser: boolean; recipients: boolean; rtcRegion: boolean; threadMetadata: boolean; topic: boolean; totalMessageSent: boolean; type: boolean; userLimit: boolean; videoQualityMode: boolean; }; defaultReactionEmoji: { emojiId: boolean; emojiName: boolean; }; emoji: { id: boolean; name: boolean; roles: boolean; user: boolean; }; entitlement: { applicationId: boolean; consumed: boolean; deleted: boolean; endsAt: boolean; guildId: boolean; id: boolean; skuId: boolean; startsAt: boolean; type: boolean; userId: boolean; }; forumTag: { emojiId: boolean; emojiName: boolean; id: boolean; moderated: boolean; name: boolean; }; guild: { afkChannelId: boolean; afkTimeout: boolean; applicationId: boolean; approximateMemberCount: boolean; approximatePresenceCount: boolean; banner: boolean; channels: boolean; defaultMessageNotifications: boolean; description: boolean; discoverySplash: boolean; emojis: boolean; explicitContentFilter: boolean; icon: boolean; iconHash: boolean; id: boolean; joinedAt: boolean; large: boolean; maxMembers: boolean; maxPresences: boolean; maxStageVideoChannelUsers: boolean; maxVideoChannelUsers: boolean; memberCount: boolean; members: boolean; mfaLevel: boolean; name: boolean; nsfwLevel: boolean; owner: boolean; ownerId: boolean; permissions: boolean; preferredLocale: boolean; premiumProgressBarEnabled: boolean; premiumSubscriptionCount: boolean; premiumTier: boolean; presences: boolean; publicUpdatesChannelId: boolean; roles: boolean; rulesChannelId: boolean; safetyAlertsChannelId: boolean; shardId: boolean; splash: boolean; stageInstances: boolean; stickers: boolean; systemChannelFlags: boolean; systemChannelId: boolean; toggles: boolean; unavailable: boolean; vanityUrlCode: boolean; verificationLevel: boolean; voiceStates: boolean; welcomeScreen: boolean; widgetChannelId: boolean; widgetEnabled: boolean; }; guildOnboarding: { defaultChannelIds: boolean; enabled: boolean; guildId: boolean; mode: boolean; prompts: boolean; }; guildOnboardingPrompt: { id: boolean; inOnboarding: boolean; options: boolean; required: boolean; singleSelect: boolean; title: boolean; type: boolean; }; guildOnboardingPromptOption: { channelIds: boolean; description: boolean; emoji: boolean; id: boolean; roleIds: boolean; title: boolean; }; interaction: { applicationId: boolean; appPermissions: boolean; authorizingIntegrationOwners: boolean; channel: boolean; channelId: boolean; context: boolean; data: boolean; guild: boolean; guildId: boolean; guildLocale: boolean; id: boolean; locale: boolean; member: boolean; message: boolean; token: boolean; type: boolean; user: boolean; version: boolean; }; interactionCallback: { activityInstanceId: boolean; id: boolean; responseMessageEphemeral: boolean; responseMessageId: boolean; responseMessageLoading: boolean; type: boolean; }; interactionCallbackResponse: { interaction: boolean; resource: boolean; }; interactionResource: { activityInstance: boolean; message: boolean; type: boolean; }; invite: { approximateMemberCount: boolean; approximatePresenceCount: boolean; channelId: boolean; code: boolean; createdAt: boolean; expiresAt: boolean; guildId: boolean; guildScheduledEvent: boolean; inviter: boolean; maxAge: boolean; maxUses: boolean; stageInstance: boolean; targetApplication: boolean; targetType: boolean; targetUser: boolean; temporary: boolean; type: boolean; uses: boolean; }; inviteStageInstance: { members: boolean; participantCount: boolean; speakerCount: boolean; topic: boolean; }; member: { avatar: boolean; avatarDecorationData: boolean; banner: boolean; communicationDisabledUntil: boolean; guildId: boolean; id: boolean; joinedAt: boolean; nick: boolean; permissions: boolean; premiumSince: boolean; roles: boolean; toggles: boolean; user: boolean; }; message: { activity: boolean; application: boolean; applicationId: boolean; attachments: boolean; author: boolean; call: boolean; channelId: boolean; components: boolean; content: boolean; editedTimestamp: boolean; embeds: boolean; guildId: boolean; id: boolean; interaction: boolean; interactionMetadata: boolean; member: boolean; mentionedChannelIds: boolean; mentionedRoleIds: boolean; mentions: boolean; messageReference: boolean; messageSnapshots: boolean; nonce: boolean; poll: boolean; reactions: boolean; referencedMessage: boolean; stickerItems: boolean; thread: boolean; type: boolean; webhookId: boolean; }; messageCall: { endedTimestamp: boolean; participants: boolean; }; messageInteraction: { id: boolean; member: boolean; name: boolean; type: boolean; user: boolean; }; messageInteractionMetadata: { authorizingIntegrationOwners: boolean; id: boolean; interactedMessageId: boolean; originalResponseMessageId: boolean; targetMessageId: boolean; targetUser: boolean; triggeringInteractionMetadata: boolean; type: boolean; user: boolean; }; messageReference: { channelId: boolean; guildId: boolean; messageId: boolean; }; messageSnapshot: { message: boolean; }; poll: { allowMultiselect: boolean; answers: boolean; expiry: boolean; layoutType: boolean; question: boolean; results: boolean; }; pollAnswer: { answerId: boolean; pollMedia: boolean; }; pollAnswerCount: { count: boolean; id: boolean; meVoted: boolean; }; pollMedia: { emoji: boolean; text: boolean; }; pollResult: { answerCounts: boolean; isFinalized: boolean; }; role: { color: boolean; flags: boolean; guildId: boolean; icon: boolean; id: boolean; name: boolean; permissions: boolean; position: boolean; tags: boolean; toggles: boolean; unicodeEmoji: boolean; }; scheduledEvent: { channelId: boolean; creator: boolean; creatorId: boolean; description: boolean; entityId: boolean; entityType: boolean; guildId: boolean; id: boolean; image: boolean; location: boolean; name: boolean; privacyLevel: boolean; recurrenceRule: boolean; scheduledEndTime: boolean; scheduledStartTime: boolean; status: boolean; userCount: boolean; }; scheduledEventRecurrenceRule: { byMonth: boolean; byMonthDay: boolean; byNWeekday: boolean; byWeekday: boolean; byYearDay: boolean; count: boolean; end: boolean; frequency: boolean; interval: boolean; start: boolean; }; sku: { applicationId: boolean; flags: boolean; id: boolean; name: boolean; slug: boolean; type: boolean; }; soundboardSound: { available: boolean; emojiId: boolean; emojiName: boolean; guildId: boolean; name: boolean; soundId: boolean; user: boolean; volume: boolean; }; stageInstance: { channelId: boolean; guildId: boolean; guildScheduledEventId: boolean; id: boolean; topic: boolean; }; sticker: { available: boolean; description: boolean; formatType: boolean; guildId: boolean; id: boolean; name: boolean; packId: boolean; sortValue: boolean; tags: boolean; type: boolean; user: boolean; }; subscription: { canceledAt: boolean; country: boolean; currentPeriodEnd: boolean; currentPeriodStart: boolean; entitlementIds: boolean; id: boolean; renewalSkuIds: boolean; skuIds: boolean; status: boolean; userId: boolean; }; user: { accentColor: boolean; avatar: boolean; avatarDecorationData: boolean; banner: boolean; discriminator: boolean; email: boolean; flags: boolean; globalName: boolean; id: boolean; locale: boolean; premiumType: boolean; publicFlags: boolean; toggles: boolean; username: boolean; }; voiceState: { channelId: boolean; guildId: boolean; requestToSpeakTimestamp: boolean; sessionId: boolean; toggles: boolean; userId: boolean; }; webhook: { applicationId: boolean; avatar: boolean; channelId: boolean; guildId: boolean; id: boolean; name: boolean; sourceChannel: boolean; sourceGuild: boolean; token: boolean; type: boolean; url: boolean; user: boolean; }; }

desiredProperties.activityInstance

{ applicationId: boolean; instanceId: boolean; launchId: boolean; location: boolean; users: boolean; }

desiredProperties.activityInstance.applicationId

boolean

desiredProperties.activityInstance.instanceId

boolean

desiredProperties.activityInstance.launchId

boolean

desiredProperties.activityInstance.location

boolean

desiredProperties.activityInstance.users

boolean

desiredProperties.activityLocation

{ channelId: boolean; guildId: boolean; id: boolean; kind: boolean; }

desiredProperties.activityLocation.channelId

boolean

desiredProperties.activityLocation.guildId

boolean

desiredProperties.activityLocation.id

boolean

desiredProperties.activityLocation.kind

boolean

desiredProperties.attachment

{ contentType: boolean; description: boolean; duration_secs: boolean; ephemeral: boolean; filename: boolean; flags: boolean; height: boolean; id: boolean; proxyUrl: boolean; size: boolean; title: boolean; url: boolean; waveform: boolean; width: boolean; }

desiredProperties.attachment.contentType

boolean

desiredProperties.attachment.description

boolean

desiredProperties.attachment.duration_secs

boolean

desiredProperties.attachment.ephemeral

boolean

desiredProperties.attachment.filename

boolean

desiredProperties.attachment.flags

boolean

desiredProperties.attachment.height

boolean

desiredProperties.attachment.id

boolean

desiredProperties.attachment.proxyUrl

boolean

desiredProperties.attachment.size

boolean

desiredProperties.attachment.title

boolean

desiredProperties.attachment.url

boolean

desiredProperties.attachment.waveform

boolean

desiredProperties.attachment.width

boolean

desiredProperties.avatarDecorationData

{ asset: boolean; skuId: boolean; }

desiredProperties.avatarDecorationData.asset

boolean

desiredProperties.avatarDecorationData.skuId

boolean

desiredProperties.channel

{ applicationId: boolean; appliedTags: boolean; availableTags: boolean; bitrate: boolean; defaultAutoArchiveDuration: boolean; defaultForumLayout: boolean; defaultReactionEmoji: boolean; defaultSortOrder: boolean; defaultThreadRateLimitPerUser: boolean; flags: boolean; guildId: boolean; icon: boolean; id: boolean; lastMessageId: boolean; lastPinTimestamp: boolean; member: boolean; memberCount: boolean; messageCount: boolean; name: boolean; ownerId: boolean; parentId: boolean; permissionOverwrites: boolean; permissions: boolean; position: boolean; rateLimitPerUser: boolean; recipients: boolean; rtcRegion: boolean; threadMetadata: boolean; topic: boolean; totalMessageSent: boolean; type: boolean; userLimit: boolean; videoQualityMode: boolean; }

desiredProperties.channel.applicationId

boolean

desiredProperties.channel.appliedTags

boolean

desiredProperties.channel.availableTags

boolean

desiredProperties.channel.bitrate

boolean

desiredProperties.channel.defaultAutoArchiveDuration

boolean

desiredProperties.channel.defaultForumLayout

boolean

desiredProperties.channel.defaultReactionEmoji

boolean

desiredProperties.channel.defaultSortOrder

boolean

desiredProperties.channel.defaultThreadRateLimitPerUser

boolean

desiredProperties.channel.flags

boolean

desiredProperties.channel.guildId

boolean

desiredProperties.channel.icon

boolean

desiredProperties.channel.id

boolean

desiredProperties.channel.lastMessageId

boolean

desiredProperties.channel.lastPinTimestamp

boolean

desiredProperties.channel.member

boolean

desiredProperties.channel.memberCount

boolean

desiredProperties.channel.messageCount

boolean

desiredProperties.channel.name

boolean

desiredProperties.channel.ownerId

boolean

desiredProperties.channel.parentId

boolean

desiredProperties.channel.permissionOverwrites

boolean

desiredProperties.channel.permissions

boolean

desiredProperties.channel.position

boolean

desiredProperties.channel.rateLimitPerUser

boolean

desiredProperties.channel.recipients

boolean

desiredProperties.channel.rtcRegion

boolean

desiredProperties.channel.threadMetadata

boolean

desiredProperties.channel.topic

boolean

desiredProperties.channel.totalMessageSent

boolean

desiredProperties.channel.type

boolean

desiredProperties.channel.userLimit

boolean

desiredProperties.channel.videoQualityMode

boolean

desiredProperties.defaultReactionEmoji

{ emojiId: boolean; emojiName: boolean; }

desiredProperties.defaultReactionEmoji.emojiId

boolean

desiredProperties.defaultReactionEmoji.emojiName

boolean

desiredProperties.emoji

{ id: boolean; name: boolean; roles: boolean; user: boolean; }

desiredProperties.emoji.id

boolean

desiredProperties.emoji.name

boolean

desiredProperties.emoji.roles

boolean

desiredProperties.emoji.user

boolean

desiredProperties.entitlement

{ applicationId: boolean; consumed: boolean; deleted: boolean; endsAt: boolean; guildId: boolean; id: boolean; skuId: boolean; startsAt: boolean; type: boolean; userId: boolean; }

desiredProperties.entitlement.applicationId

boolean

desiredProperties.entitlement.consumed

boolean

desiredProperties.entitlement.deleted

boolean

desiredProperties.entitlement.endsAt

boolean

desiredProperties.entitlement.guildId

boolean

desiredProperties.entitlement.id

boolean

desiredProperties.entitlement.skuId

boolean

desiredProperties.entitlement.startsAt

boolean

desiredProperties.entitlement.type

boolean

desiredProperties.entitlement.userId

boolean

desiredProperties.forumTag

{ emojiId: boolean; emojiName: boolean; id: boolean; moderated: boolean; name: boolean; }

desiredProperties.forumTag.emojiId

boolean

desiredProperties.forumTag.emojiName

boolean

desiredProperties.forumTag.id

boolean

desiredProperties.forumTag.moderated

boolean

desiredProperties.forumTag.name

boolean

desiredProperties.guild

{ afkChannelId: boolean; afkTimeout: boolean; applicationId: boolean; approximateMemberCount: boolean; approximatePresenceCount: boolean; banner: boolean; channels: boolean; defaultMessageNotifications: boolean; description: boolean; discoverySplash: boolean; emojis: boolean; explicitContentFilter: boolean; icon: boolean; iconHash: boolean; id: boolean; joinedAt: boolean; large: boolean; maxMembers: boolean; maxPresences: boolean; maxStageVideoChannelUsers: boolean; maxVideoChannelUsers: boolean; memberCount: boolean; members: boolean; mfaLevel: boolean; name: boolean; nsfwLevel: boolean; owner: boolean; ownerId: boolean; permissions: boolean; preferredLocale: boolean; premiumProgressBarEnabled: boolean; premiumSubscriptionCount: boolean; premiumTier: boolean; presences: boolean; publicUpdatesChannelId: boolean; roles: boolean; rulesChannelId: boolean; safetyAlertsChannelId: boolean; shardId: boolean; splash: boolean; stageInstances: boolean; stickers: boolean; systemChannelFlags: boolean; systemChannelId: boolean; toggles: boolean; unavailable: boolean; vanityUrlCode: boolean; verificationLevel: boolean; voiceStates: boolean; welcomeScreen: boolean; widgetChannelId: boolean; widgetEnabled: boolean; }

desiredProperties.guild.afkChannelId

boolean

desiredProperties.guild.afkTimeout

boolean

desiredProperties.guild.applicationId

boolean

desiredProperties.guild.approximateMemberCount

boolean

desiredProperties.guild.approximatePresenceCount

boolean

desiredProperties.guild.banner

boolean

desiredProperties.guild.channels

boolean

desiredProperties.guild.defaultMessageNotifications

boolean

desiredProperties.guild.description

boolean

desiredProperties.guild.discoverySplash

boolean

desiredProperties.guild.emojis

boolean

desiredProperties.guild.explicitContentFilter

boolean

desiredProperties.guild.icon

boolean

desiredProperties.guild.iconHash

boolean

desiredProperties.guild.id

boolean

desiredProperties.guild.joinedAt

boolean

desiredProperties.guild.large

boolean

desiredProperties.guild.maxMembers

boolean

desiredProperties.guild.maxPresences

boolean

desiredProperties.guild.maxStageVideoChannelUsers

boolean

desiredProperties.guild.maxVideoChannelUsers

boolean

desiredProperties.guild.memberCount

boolean

desiredProperties.guild.members

boolean

desiredProperties.guild.mfaLevel

boolean

desiredProperties.guild.name

boolean

desiredProperties.guild.nsfwLevel

boolean

desiredProperties.guild.owner

boolean

desiredProperties.guild.ownerId

boolean

desiredProperties.guild.permissions

boolean

desiredProperties.guild.preferredLocale

boolean

desiredProperties.guild.premiumProgressBarEnabled

boolean

desiredProperties.guild.premiumSubscriptionCount

boolean

desiredProperties.guild.premiumTier

boolean

desiredProperties.guild.presences

boolean

desiredProperties.guild.publicUpdatesChannelId

boolean

desiredProperties.guild.roles

boolean

desiredProperties.guild.rulesChannelId

boolean

desiredProperties.guild.safetyAlertsChannelId

boolean

desiredProperties.guild.shardId

boolean

desiredProperties.guild.splash

boolean

desiredProperties.guild.stageInstances

boolean

desiredProperties.guild.stickers

boolean

desiredProperties.guild.systemChannelFlags

boolean

desiredProperties.guild.systemChannelId

boolean

desiredProperties.guild.toggles

boolean

desiredProperties.guild.unavailable

boolean

desiredProperties.guild.vanityUrlCode

boolean

desiredProperties.guild.verificationLevel

boolean

desiredProperties.guild.voiceStates

boolean

desiredProperties.guild.welcomeScreen

boolean

desiredProperties.guild.widgetChannelId

boolean

desiredProperties.guild.widgetEnabled

boolean

desiredProperties.guildOnboarding

{ defaultChannelIds: boolean; enabled: boolean; guildId: boolean; mode: boolean; prompts: boolean; }

desiredProperties.guildOnboarding.defaultChannelIds

boolean

desiredProperties.guildOnboarding.enabled

boolean

desiredProperties.guildOnboarding.guildId

boolean

desiredProperties.guildOnboarding.mode

boolean

desiredProperties.guildOnboarding.prompts

boolean

desiredProperties.guildOnboardingPrompt

{ id: boolean; inOnboarding: boolean; options: boolean; required: boolean; singleSelect: boolean; title: boolean; type: boolean; }

desiredProperties.guildOnboardingPrompt.id

boolean

desiredProperties.guildOnboardingPrompt.inOnboarding

boolean

desiredProperties.guildOnboardingPrompt.options

boolean

desiredProperties.guildOnboardingPrompt.required

boolean

desiredProperties.guildOnboardingPrompt.singleSelect

boolean

desiredProperties.guildOnboardingPrompt.title

boolean

desiredProperties.guildOnboardingPrompt.type

boolean

desiredProperties.guildOnboardingPromptOption

{ channelIds: boolean; description: boolean; emoji: boolean; id: boolean; roleIds: boolean; title: boolean; }

desiredProperties.guildOnboardingPromptOption.channelIds

boolean

desiredProperties.guildOnboardingPromptOption.description

boolean

desiredProperties.guildOnboardingPromptOption.emoji

boolean

desiredProperties.guildOnboardingPromptOption.id

boolean

desiredProperties.guildOnboardingPromptOption.roleIds

boolean

desiredProperties.guildOnboardingPromptOption.title

boolean

desiredProperties.interaction

{ applicationId: boolean; appPermissions: boolean; authorizingIntegrationOwners: boolean; channel: boolean; channelId: boolean; context: boolean; data: boolean; guild: boolean; guildId: boolean; guildLocale: boolean; id: boolean; locale: boolean; member: boolean; message: boolean; token: boolean; type: boolean; user: boolean; version: boolean; }

desiredProperties.interaction.applicationId

boolean

desiredProperties.interaction.appPermissions

boolean

desiredProperties.interaction.authorizingIntegrationOwners

boolean

desiredProperties.interaction.channel

boolean

desiredProperties.interaction.channelId

boolean

desiredProperties.interaction.context

boolean

desiredProperties.interaction.data

boolean

desiredProperties.interaction.guild

boolean

desiredProperties.interaction.guildId

boolean

desiredProperties.interaction.guildLocale

boolean

desiredProperties.interaction.id

boolean

desiredProperties.interaction.locale

boolean

desiredProperties.interaction.member

boolean

desiredProperties.interaction.message

boolean

desiredProperties.interaction.token

boolean

desiredProperties.interaction.type

boolean

desiredProperties.interaction.user

boolean

desiredProperties.interaction.version

boolean

desiredProperties.interactionCallback

{ activityInstanceId: boolean; id: boolean; responseMessageEphemeral: boolean; responseMessageId: boolean; responseMessageLoading: boolean; type: boolean; }

desiredProperties.interactionCallback.activityInstanceId

boolean

desiredProperties.interactionCallback.id

boolean

desiredProperties.interactionCallback.responseMessageEphemeral

boolean

desiredProperties.interactionCallback.responseMessageId

boolean

desiredProperties.interactionCallback.responseMessageLoading

boolean

desiredProperties.interactionCallback.type

boolean

desiredProperties.interactionCallbackResponse

{ interaction: boolean; resource: boolean; }

desiredProperties.interactionCallbackResponse.interaction

boolean

desiredProperties.interactionCallbackResponse.resource

boolean

desiredProperties.interactionResource

{ activityInstance: boolean; message: boolean; type: boolean; }

desiredProperties.interactionResource.activityInstance

boolean

desiredProperties.interactionResource.message

boolean

desiredProperties.interactionResource.type

boolean

desiredProperties.invite

{ approximateMemberCount: boolean; approximatePresenceCount: boolean; channelId: boolean; code: boolean; createdAt: boolean; expiresAt: boolean; guildId: boolean; guildScheduledEvent: boolean; inviter: boolean; maxAge: boolean; maxUses: boolean; stageInstance: boolean; targetApplication: boolean; targetType: boolean; targetUser: boolean; temporary: boolean; type: boolean; uses: boolean; }

desiredProperties.invite.approximateMemberCount

boolean

desiredProperties.invite.approximatePresenceCount

boolean

desiredProperties.invite.channelId

boolean

desiredProperties.invite.code

boolean

desiredProperties.invite.createdAt

boolean

desiredProperties.invite.expiresAt

boolean

desiredProperties.invite.guildId

boolean

desiredProperties.invite.guildScheduledEvent

boolean

desiredProperties.invite.inviter

boolean

desiredProperties.invite.maxAge

boolean

desiredProperties.invite.maxUses

boolean

desiredProperties.invite.stageInstance

boolean

desiredProperties.invite.targetApplication

boolean

desiredProperties.invite.targetType

boolean

desiredProperties.invite.targetUser

boolean

desiredProperties.invite.temporary

boolean

desiredProperties.invite.type

boolean

desiredProperties.invite.uses

boolean

desiredProperties.inviteStageInstance

{ members: boolean; participantCount: boolean; speakerCount: boolean; topic: boolean; }

desiredProperties.inviteStageInstance.members

boolean

desiredProperties.inviteStageInstance.participantCount

boolean

desiredProperties.inviteStageInstance.speakerCount

boolean

desiredProperties.inviteStageInstance.topic

boolean

desiredProperties.member

{ avatar: boolean; avatarDecorationData: boolean; banner: boolean; communicationDisabledUntil: boolean; guildId: boolean; id: boolean; joinedAt: boolean; nick: boolean; permissions: boolean; premiumSince: boolean; roles: boolean; toggles: boolean; user: boolean; }

desiredProperties.member.avatar

boolean

desiredProperties.member.avatarDecorationData

boolean

desiredProperties.member.banner

boolean

desiredProperties.member.communicationDisabledUntil

boolean

desiredProperties.member.guildId

boolean

desiredProperties.member.id

boolean

desiredProperties.member.joinedAt

boolean

desiredProperties.member.nick

boolean

desiredProperties.member.permissions

boolean

desiredProperties.member.premiumSince

boolean

desiredProperties.member.roles

boolean

desiredProperties.member.toggles

boolean

desiredProperties.member.user

boolean

desiredProperties.message

{ activity: boolean; application: boolean; applicationId: boolean; attachments: boolean; author: boolean; call: boolean; channelId: boolean; components: boolean; content: boolean; editedTimestamp: boolean; embeds: boolean; guildId: boolean; id: boolean; interaction: boolean; interactionMetadata: boolean; member: boolean; mentionedChannelIds: boolean; mentionedRoleIds: boolean; mentions: boolean; messageReference: boolean; messageSnapshots: boolean; nonce: boolean; poll: boolean; reactions: boolean; referencedMessage: boolean; stickerItems: boolean; thread: boolean; type: boolean; webhookId: boolean; }

desiredProperties.message.activity

boolean

desiredProperties.message.application

boolean

desiredProperties.message.applicationId

boolean

desiredProperties.message.attachments

boolean

desiredProperties.message.author

boolean

desiredProperties.message.call

boolean

desiredProperties.message.channelId

boolean

desiredProperties.message.components

boolean

desiredProperties.message.content

boolean

desiredProperties.message.editedTimestamp

boolean

desiredProperties.message.embeds

boolean

desiredProperties.message.guildId

boolean

desiredProperties.message.id

boolean

desiredProperties.message.interaction

boolean

desiredProperties.message.interactionMetadata

boolean

desiredProperties.message.member

boolean

desiredProperties.message.mentionedChannelIds

boolean

desiredProperties.message.mentionedRoleIds

boolean

desiredProperties.message.mentions

boolean

desiredProperties.message.messageReference

boolean

desiredProperties.message.messageSnapshots

boolean

desiredProperties.message.nonce

boolean

desiredProperties.message.poll

boolean

desiredProperties.message.reactions

boolean

desiredProperties.message.referencedMessage

boolean

desiredProperties.message.stickerItems

boolean

desiredProperties.message.thread

boolean

desiredProperties.message.type

boolean

desiredProperties.message.webhookId

boolean

desiredProperties.messageCall

{ endedTimestamp: boolean; participants: boolean; }

desiredProperties.messageCall.endedTimestamp

boolean

desiredProperties.messageCall.participants

boolean

desiredProperties.messageInteraction

{ id: boolean; member: boolean; name: boolean; type: boolean; user: boolean; }

desiredProperties.messageInteraction.id

boolean

desiredProperties.messageInteraction.member

boolean

desiredProperties.messageInteraction.name

boolean

desiredProperties.messageInteraction.type

boolean

desiredProperties.messageInteraction.user

boolean

desiredProperties.messageInteractionMetadata

{ authorizingIntegrationOwners: boolean; id: boolean; interactedMessageId: boolean; originalResponseMessageId: boolean; targetMessageId: boolean; targetUser: boolean; triggeringInteractionMetadata: boolean; type: boolean; user: boolean; }

desiredProperties.messageInteractionMetadata.authorizingIntegrationOwners

boolean

desiredProperties.messageInteractionMetadata.id

boolean

desiredProperties.messageInteractionMetadata.interactedMessageId

boolean

desiredProperties.messageInteractionMetadata.originalResponseMessageId

boolean

desiredProperties.messageInteractionMetadata.targetMessageId

boolean

desiredProperties.messageInteractionMetadata.targetUser

boolean

desiredProperties.messageInteractionMetadata.triggeringInteractionMetadata

boolean

desiredProperties.messageInteractionMetadata.type

boolean

desiredProperties.messageInteractionMetadata.user

boolean

desiredProperties.messageReference

{ channelId: boolean; guildId: boolean; messageId: boolean; }

desiredProperties.messageReference.channelId

boolean

desiredProperties.messageReference.guildId

boolean

desiredProperties.messageReference.messageId

boolean

desiredProperties.messageSnapshot

{ message: boolean; }

desiredProperties.messageSnapshot.message

boolean

desiredProperties.poll

{ allowMultiselect: boolean; answers: boolean; expiry: boolean; layoutType: boolean; question: boolean; results: boolean; }

desiredProperties.poll.allowMultiselect

boolean

desiredProperties.poll.answers

boolean

desiredProperties.poll.expiry

boolean

desiredProperties.poll.layoutType

boolean

desiredProperties.poll.question

boolean

desiredProperties.poll.results

boolean

desiredProperties.pollAnswer

{ answerId: boolean; pollMedia: boolean; }

desiredProperties.pollAnswer.answerId

boolean

desiredProperties.pollAnswer.pollMedia

boolean

desiredProperties.pollAnswerCount

{ count: boolean; id: boolean; meVoted: boolean; }

desiredProperties.pollAnswerCount.count

boolean

desiredProperties.pollAnswerCount.id

boolean

desiredProperties.pollAnswerCount.meVoted

boolean

desiredProperties.pollMedia

{ emoji: boolean; text: boolean; }

desiredProperties.pollMedia.emoji

boolean

desiredProperties.pollMedia.text

boolean

desiredProperties.pollResult

{ answerCounts: boolean; isFinalized: boolean; }

desiredProperties.pollResult.answerCounts

boolean

desiredProperties.pollResult.isFinalized

boolean

desiredProperties.role

{ color: boolean; flags: boolean; guildId: boolean; icon: boolean; id: boolean; name: boolean; permissions: boolean; position: boolean; tags: boolean; toggles: boolean; unicodeEmoji: boolean; }

desiredProperties.role.color

boolean

desiredProperties.role.flags

boolean

desiredProperties.role.guildId

boolean

desiredProperties.role.icon

boolean

desiredProperties.role.id

boolean

desiredProperties.role.name

boolean

desiredProperties.role.permissions

boolean

desiredProperties.role.position

boolean

desiredProperties.role.tags

boolean

desiredProperties.role.toggles

boolean

desiredProperties.role.unicodeEmoji

boolean

desiredProperties.scheduledEvent

{ channelId: boolean; creator: boolean; creatorId: boolean; description: boolean; entityId: boolean; entityType: boolean; guildId: boolean; id: boolean; image: boolean; location: boolean; name: boolean; privacyLevel: boolean; recurrenceRule: boolean; scheduledEndTime: boolean; scheduledStartTime: boolean; status: boolean; userCount: boolean; }

desiredProperties.scheduledEvent.channelId

boolean

desiredProperties.scheduledEvent.creator

boolean

desiredProperties.scheduledEvent.creatorId

boolean

desiredProperties.scheduledEvent.description

boolean

desiredProperties.scheduledEvent.entityId

boolean

desiredProperties.scheduledEvent.entityType

boolean

desiredProperties.scheduledEvent.guildId

boolean

desiredProperties.scheduledEvent.id

boolean

desiredProperties.scheduledEvent.image

boolean

desiredProperties.scheduledEvent.location

boolean

desiredProperties.scheduledEvent.name

boolean

desiredProperties.scheduledEvent.privacyLevel

boolean

desiredProperties.scheduledEvent.recurrenceRule

boolean

desiredProperties.scheduledEvent.scheduledEndTime

boolean

desiredProperties.scheduledEvent.scheduledStartTime

boolean

desiredProperties.scheduledEvent.status

boolean

desiredProperties.scheduledEvent.userCount

boolean

desiredProperties.scheduledEventRecurrenceRule

{ byMonth: boolean; byMonthDay: boolean; byNWeekday: boolean; byWeekday: boolean; byYearDay: boolean; count: boolean; end: boolean; frequency: boolean; interval: boolean; start: boolean; }

desiredProperties.scheduledEventRecurrenceRule.byMonth

boolean

desiredProperties.scheduledEventRecurrenceRule.byMonthDay

boolean

desiredProperties.scheduledEventRecurrenceRule.byNWeekday

boolean

desiredProperties.scheduledEventRecurrenceRule.byWeekday

boolean

desiredProperties.scheduledEventRecurrenceRule.byYearDay

boolean

desiredProperties.scheduledEventRecurrenceRule.count

boolean

desiredProperties.scheduledEventRecurrenceRule.end

boolean

desiredProperties.scheduledEventRecurrenceRule.frequency

boolean

desiredProperties.scheduledEventRecurrenceRule.interval

boolean

desiredProperties.scheduledEventRecurrenceRule.start

boolean

desiredProperties.sku

{ applicationId: boolean; flags: boolean; id: boolean; name: boolean; slug: boolean; type: boolean; }

desiredProperties.sku.applicationId

boolean

desiredProperties.sku.flags

boolean

desiredProperties.sku.id

boolean

desiredProperties.sku.name

boolean

desiredProperties.sku.slug

boolean

desiredProperties.sku.type

boolean

desiredProperties.soundboardSound

{ available: boolean; emojiId: boolean; emojiName: boolean; guildId: boolean; name: boolean; soundId: boolean; user: boolean; volume: boolean; }

desiredProperties.soundboardSound.available

boolean

desiredProperties.soundboardSound.emojiId

boolean

desiredProperties.soundboardSound.emojiName

boolean

desiredProperties.soundboardSound.guildId

boolean

desiredProperties.soundboardSound.name

boolean

desiredProperties.soundboardSound.soundId

boolean

desiredProperties.soundboardSound.user

boolean

desiredProperties.soundboardSound.volume

boolean

desiredProperties.stageInstance

{ channelId: boolean; guildId: boolean; guildScheduledEventId: boolean; id: boolean; topic: boolean; }

desiredProperties.stageInstance.channelId

boolean

desiredProperties.stageInstance.guildId

boolean

desiredProperties.stageInstance.guildScheduledEventId

boolean

desiredProperties.stageInstance.id

boolean

desiredProperties.stageInstance.topic

boolean

desiredProperties.sticker

{ available: boolean; description: boolean; formatType: boolean; guildId: boolean; id: boolean; name: boolean; packId: boolean; sortValue: boolean; tags: boolean; type: boolean; user: boolean; }

desiredProperties.sticker.available

boolean

desiredProperties.sticker.description

boolean

desiredProperties.sticker.formatType

boolean

desiredProperties.sticker.guildId

boolean

desiredProperties.sticker.id

boolean

desiredProperties.sticker.name

boolean

desiredProperties.sticker.packId

boolean

desiredProperties.sticker.sortValue

boolean

desiredProperties.sticker.tags

boolean

desiredProperties.sticker.type

boolean

desiredProperties.sticker.user

boolean

desiredProperties.subscription

{ canceledAt: boolean; country: boolean; currentPeriodEnd: boolean; currentPeriodStart: boolean; entitlementIds: boolean; id: boolean; renewalSkuIds: boolean; skuIds: boolean; status: boolean; userId: boolean; }

desiredProperties.subscription.canceledAt

boolean

desiredProperties.subscription.country

boolean

desiredProperties.subscription.currentPeriodEnd

boolean

desiredProperties.subscription.currentPeriodStart

boolean

desiredProperties.subscription.entitlementIds

boolean

desiredProperties.subscription.id

boolean

desiredProperties.subscription.renewalSkuIds

boolean

desiredProperties.subscription.skuIds

boolean

desiredProperties.subscription.status

boolean

desiredProperties.subscription.userId

boolean

desiredProperties.user

{ accentColor: boolean; avatar: boolean; avatarDecorationData: boolean; banner: boolean; discriminator: boolean; email: boolean; flags: boolean; globalName: boolean; id: boolean; locale: boolean; premiumType: boolean; publicFlags: boolean; toggles: boolean; username: boolean; }

desiredProperties.user.accentColor

boolean

desiredProperties.user.avatar

boolean

desiredProperties.user.avatarDecorationData

boolean

desiredProperties.user.banner

boolean

desiredProperties.user.discriminator

boolean

desiredProperties.user.email

boolean

desiredProperties.user.flags

boolean

desiredProperties.user.globalName

boolean

desiredProperties.user.id

boolean

desiredProperties.user.locale

boolean

desiredProperties.user.premiumType

boolean

desiredProperties.user.publicFlags

boolean

desiredProperties.user.toggles

boolean

desiredProperties.user.username

boolean

desiredProperties.voiceState

{ channelId: boolean; guildId: boolean; requestToSpeakTimestamp: boolean; sessionId: boolean; toggles: boolean; userId: boolean; }

desiredProperties.voiceState.channelId

boolean

desiredProperties.voiceState.guildId

boolean

desiredProperties.voiceState.requestToSpeakTimestamp

boolean

desiredProperties.voiceState.sessionId

boolean

desiredProperties.voiceState.toggles

boolean

desiredProperties.voiceState.userId

boolean

desiredProperties.webhook

{ applicationId: boolean; avatar: boolean; channelId: boolean; guildId: boolean; id: boolean; name: boolean; sourceChannel: boolean; sourceGuild: boolean; token: boolean; type: boolean; url: boolean; user: boolean; }

desiredProperties.webhook.applicationId

boolean

desiredProperties.webhook.avatar

boolean

desiredProperties.webhook.channelId

boolean

desiredProperties.webhook.guildId

boolean

desiredProperties.webhook.id

boolean

desiredProperties.webhook.name

boolean

desiredProperties.webhook.sourceChannel

boolean

desiredProperties.webhook.sourceGuild

boolean

desiredProperties.webhook.token

boolean

desiredProperties.webhook.type

boolean

desiredProperties.webhook.url

boolean

desiredProperties.webhook.user

boolean

embed

(bot, payload) => Embed

emoji

(bot, payload) => SetupDesiredProps<Emoji, TProps, TBehavior>

entitlement

(bot, payload) => SetupDesiredProps<Entitlement, TProps, TBehavior>

forumTag

(bot, payload) => SetupDesiredProps<ForumTag, TProps, TBehavior>

gatewayBot

(bot, payload) => GetGatewayBot

guild

(bot, payload) => SetupDesiredProps<Guild, TProps, TBehavior>

guildOnboarding

(bot, payload) => SetupDesiredProps<GuildOnboarding, TProps, TBehavior>

guildOnboardingPrompt

(bot, payload) => SetupDesiredProps<GuildOnboardingPrompt, TProps, TBehavior>

guildOnboardingPromptOption

(bot, payload) => GuildOnboardingPromptOption

integration

(bot, payload) => Integration

interaction

(bot, payload) => SetupDesiredProps<Interaction, TProps, TBehavior>

interactionCallback

(bot, payload) => SetupDesiredProps<InteractionCallback, TProps, TBehavior>

interactionCallbackResponse

(bot, payload) => SetupDesiredProps<InteractionCallbackResponse, TProps, TBehavior>

interactionDataOptions

(bot, payload) => InteractionDataOption

interactionDataResolved

(bot, payload) => InteractionDataResolved

interactionResource

(bot, payload) => SetupDesiredProps<InteractionResource, TProps, TBehavior>

invite

(bot, payload) => SetupDesiredProps<Invite, TProps, TBehavior>

inviteStageInstance

(bot, payload) => SetupDesiredProps<InviteStageInstance, TProps, TBehavior>

member

(bot, payload, guildId, userId) => SetupDesiredProps<Member, TProps, TBehavior>

message

(bot, payload) => SetupDesiredProps<Message, TProps, TBehavior>

messageCall

(bot, payload) => SetupDesiredProps<MessageCall, TProps, TBehavior>

messageInteractionMetadata

(bot, payload) => SetupDesiredProps<MessageInteractionMetadata, TProps, TBehavior>

messageSnapshot

(bot, payload) => SetupDesiredProps<MessageSnapshot, TProps, TBehavior>

poll

(bot, payload) => SetupDesiredProps<Poll, TProps, TBehavior>

pollMedia

(bot, payload) => SetupDesiredProps<PollMedia, TProps, TBehavior>

presence

(bot, payload) => PresenceUpdate

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; createApplicationCommand: (bot, payload) => DiscordCreateApplicationCommand; embed: (bot, payload) => DiscordEmbed; member: (bot, payload) => DiscordMember; snowflake: (snowflake) => string; team: (bot, payload) => DiscordTeam; 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

reverse.createApplicationCommand

(bot, payload) => DiscordCreateApplicationCommand

reverse.embed

(bot, payload) => DiscordEmbed

reverse.member

(bot, payload) => DiscordMember

reverse.snowflake

(snowflake) => string

reverse.team

(bot, payload) => DiscordTeam

reverse.user

(bot, payload) => DiscordUser

role

(bot, payload) => SetupDesiredProps<Role, TProps, TBehavior>

scheduledEvent

(bot, payload) => SetupDesiredProps<ScheduledEvent, TProps, TBehavior>

scheduledEventRecurrenceRule

(bot, payload) => SetupDesiredProps<ScheduledEventRecurrenceRule, TProps, TBehavior>

sku

(bot, payload) => SetupDesiredProps<Sku, TProps, TBehavior>

snowflake

(snowflake) => bigint

soundboardSound

(bot, payload) => SetupDesiredProps<SoundboardSound, TProps, TBehavior>

stageInstance

(bot, payload) => SetupDesiredProps<StageInstance, TProps, TBehavior>

sticker

(bot, payload) => SetupDesiredProps<Sticker, TProps, TBehavior>

stickerPack

(bot, payload) => StickerPack

subscription

(bot, payload) => SetupDesiredProps<Subscription, TProps, TBehavior>

team

(bot, payload) => Team

template

(bot, payload) => Template

threadMember

(bot, payload) => ThreadMember

threadMemberGuildCreate

(bot, payload) => ThreadMemberGuildCreate

user

(bot, payload) => SetupDesiredProps<User, TProps, TBehavior>

voiceRegion

(bot, payload) => VoiceRegion

voiceState

(bot, payload) => SetupDesiredProps<VoiceState, TProps, TBehavior>

webhook

(bot, payload) => SetupDesiredProps<Webhook, TProps, TBehavior>

welcomeScreen

(bot, payload) => WelcomeScreen

widget

(bot, payload) => GuildWidget

widgetSettings

(bot, payload) => GuildWidgetSettings

Returns

Transformers<TProps, TBehavior>