DiscordLua
discorddiscord
v1.2.4
Install

Types

Type

Named option tables exported on discord (for example discord.MessageCreateOptions). Pass a Lua table with these keys to create, edit, and fetch helpers. encode maps camelCase fields to the REST body.

BaseFetchOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

BaseMessageOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
ttsTts field consumed when encoding this options table.
nonceNonce field consumed when encoding this options table.
stickersStickers field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.

BaseMessageOptionsWithPoll

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.

BaseMessageCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
ttsTts field consumed when encoding this options table.
nonceNonce field consumed when encoding this options table.
enforceNonceEnforce Nonce field consumed when encoding this options table.
stickersStickers field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.
messageReferenceMessage Reference field consumed when encoding this options table.
sharedClientThemeShared Client Theme field consumed when encoding this options table.

MessageCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
ttsTts field consumed when encoding this options table.
nonceNonce field consumed when encoding this options table.
enforceNonceEnforce Nonce field consumed when encoding this options table.
stickersStickers field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.
replyReply field consumed when encoding this options table.
messageReferenceMessage Reference field consumed when encoding this options table.
failIfNotExistsFail If Not Exists field consumed when encoding this options table.
sharedClientThemeShared Client Theme field consumed when encoding this options table.

MessageEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
attachmentsAttachments field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.

MessageReplyOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
failIfNotExistsFail If Not Exists field consumed when encoding this options table.

ReplyOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
messageReferenceMessage Reference field consumed when encoding this options table.
failIfNotExistsFail If Not Exists field consumed when encoding this options table.

ForwardOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
messageMessage field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.

FetchMessageOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

FetchMessagesOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
limitLimit field consumed when encoding this options table.
beforeBefore field consumed when encoding this options table.
afterAfter field consumed when encoding this options table.
aroundAround field consumed when encoding this options table.
cacheCache field consumed when encoding this options table.

FetchPinnedMessagesOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
beforeBefore field consumed when encoding this options table.
limitLimit field consumed when encoding this options table.

InteractionReplyOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
ttsTts field consumed when encoding this options table.
ephemeralEphemeral field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.
fetchReplyFetch Reply field consumed when encoding this options table.

InteractionEditReplyOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
attachmentsAttachments field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.

InteractionDeferReplyOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
ephemeralEphemeral field consumed when encoding this options table.
fetchReplyFetch Reply field consumed when encoding this options table.

InteractionDeferUpdateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
fetchReplyFetch Reply field consumed when encoding this options table.

InteractionUpdateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.

LaunchActivityOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
titleTitle field consumed when encoding this options table.

ShowModalOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
customIdCustom Id field consumed when encoding this options table.
titleTitle field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.

InviteCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
maxAgeMax Age field consumed when encoding this options table.
maxUsesMax Uses field consumed when encoding this options table.
temporaryTemporary field consumed when encoding this options table.
uniqueUnique field consumed when encoding this options table.
targetTypeTarget Type field consumed when encoding this options table.
targetUserTarget User field consumed when encoding this options table.
targetApplicationTarget Application field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
guestGuest field consumed when encoding this options table.
isGuestInviteIs Guest Invite field consumed when encoding this options table.

FetchInviteOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.
withCountsWith Counts field consumed when encoding this options table.
withExpirationWith Expiration field consumed when encoding this options table.
guildScheduledEventGuild Scheduled Event field consumed when encoding this options table.

ClientFetchInviteOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
withCountsWith Counts field consumed when encoding this options table.
withExpirationWith Expiration field consumed when encoding this options table.
guildScheduledEventGuild Scheduled Event field consumed when encoding this options table.

FetchInvitesOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.

GuildCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
iconIcon field consumed when encoding this options table.
channelsChannels field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
afkChannelIdAfk Channel Id field consumed when encoding this options table.
afkTimeoutAfk Timeout field consumed when encoding this options table.
systemChannelIdSystem Channel Id field consumed when encoding this options table.
systemChannelFlagsSystem Channel Flags field consumed when encoding this options table.

GuildEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
iconIcon field consumed when encoding this options table.
splashSplash field consumed when encoding this options table.
discoverySplashDiscovery Splash field consumed when encoding this options table.
bannerBanner field consumed when encoding this options table.
afkChannelAfk Channel field consumed when encoding this options table.
afkTimeoutAfk Timeout field consumed when encoding this options table.
systemChannelSystem Channel field consumed when encoding this options table.
systemChannelFlagsSystem Channel Flags field consumed when encoding this options table.
rulesChannelRules Channel field consumed when encoding this options table.
publicUpdatesChannelPublic Updates Channel field consumed when encoding this options table.
preferredLocalePreferred Locale field consumed when encoding this options table.
featuresFeatures field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
premiumProgressBarEnabledPremium Progress Bar Enabled field consumed when encoding this options table.
safetyAlertsChannelSafety Alerts Channel field consumed when encoding this options table.
verificationLevelVerification Level field consumed when encoding this options table.
explicitContentFilterExplicit Content Filter field consumed when encoding this options table.
defaultMessageNotificationsDefault Message Notifications field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

FetchGuildOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.
withCountsWith Counts field consumed when encoding this options table.

FetchGuildsOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
beforeBefore field consumed when encoding this options table.
afterAfter field consumed when encoding this options table.
limitLimit field consumed when encoding this options table.

GuildChannelCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
topicTopic field consumed when encoding this options table.
bitrateBitrate field consumed when encoding this options table.
userLimitUser Limit field consumed when encoding this options table.
parentParent field consumed when encoding this options table.
parentIdParent Id field consumed when encoding this options table.
nsfwNsfw field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
positionPosition field consumed when encoding this options table.
permissionOverwritesPermission Overwrites field consumed when encoding this options table.
rtcRegionRtc Region field consumed when encoding this options table.
videoQualityModeVideo Quality Mode field consumed when encoding this options table.
defaultAutoArchiveDurationDefault Auto Archive Duration field consumed when encoding this options table.
availableTagsAvailable Tags field consumed when encoding this options table.
defaultReactionEmojiDefault Reaction Emoji field consumed when encoding this options table.
defaultSortOrderDefault Sort Order field consumed when encoding this options table.
defaultForumLayoutDefault Forum Layout field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildChannelEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
topicTopic field consumed when encoding this options table.
bitrateBitrate field consumed when encoding this options table.
userLimitUser Limit field consumed when encoding this options table.
parentParent field consumed when encoding this options table.
parentIdParent Id field consumed when encoding this options table.
nsfwNsfw field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
positionPosition field consumed when encoding this options table.
permissionOverwritesPermission Overwrites field consumed when encoding this options table.
rtcRegionRtc Region field consumed when encoding this options table.
videoQualityModeVideo Quality Mode field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

CategoryCreateChannelOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
topicTopic field consumed when encoding this options table.
bitrateBitrate field consumed when encoding this options table.
userLimitUser Limit field consumed when encoding this options table.
nsfwNsfw field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
positionPosition field consumed when encoding this options table.
permissionOverwritesPermission Overwrites field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

CreateChannelOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
parentParent field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildChannelCloneOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

SetParentOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
lockPermissionsLock Permissions field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

FetchChannelOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.
allowUnknownGuildAllow Unknown Guild field consumed when encoding this options table.

RoleCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
colorColor field consumed when encoding this options table.
colorsColors field consumed when encoding this options table.
hoistHoist field consumed when encoding this options table.
mentionableMentionable field consumed when encoding this options table.
permissionsPermissions field consumed when encoding this options table.
iconIcon field consumed when encoding this options table.
unicodeEmojiUnicode Emoji field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.
positionPosition field consumed when encoding this options table.

RoleEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
colorColor field consumed when encoding this options table.
colorsColors field consumed when encoding this options table.
hoistHoist field consumed when encoding this options table.
mentionableMentionable field consumed when encoding this options table.
permissionsPermissions field consumed when encoding this options table.
iconIcon field consumed when encoding this options table.
unicodeEmojiUnicode Emoji field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

BanOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
deleteMessageSecondsDelete Message Seconds field consumed when encoding this options table.
deleteMessageDaysDelete Message Days field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

BulkBanOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
deleteMessageSecondsDelete Message Seconds field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

FetchBanOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

FetchBansOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
limitLimit field consumed when encoding this options table.
beforeBefore field consumed when encoding this options table.
afterAfter field consumed when encoding this options table.

GuildMemberEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nickNick field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
muteMute field consumed when encoding this options table.
deafDeaf field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.
communicationDisabledUntilCommunication Disabled Until field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

AddGuildMemberOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
accessTokenAccess Token field consumed when encoding this options table.
nickNick field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
muteMute field consumed when encoding this options table.
deafDeaf field consumed when encoding this options table.

FetchMemberOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

FetchMembersOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
queryQuery field consumed when encoding this options table.
limitLimit field consumed when encoding this options table.
withPresencesWith Presences field consumed when encoding this options table.
userUser field consumed when encoding this options table.
nonceNonce field consumed when encoding this options table.
timeTime field consumed when encoding this options table.

GuildListMembersOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
limitLimit field consumed when encoding this options table.
afterAfter field consumed when encoding this options table.

GuildSearchMembersOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
queryQuery field consumed when encoding this options table.
limitLimit field consumed when encoding this options table.

GuildPruneMembersOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
daysDays field consumed when encoding this options table.
dryDry field consumed when encoding this options table.
countCount field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

WebhookCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
avatarAvatar field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

WebhookEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
avatarAvatar field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

WebhookDeleteOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
reasonReason field consumed when encoding this options table.

WebhookMessageCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
threadIdThread Id field consumed when encoding this options table.
usernameUsername field consumed when encoding this options table.
avatarURLAvatar URL field consumed when encoding this options table.
ttsTts field consumed when encoding this options table.
pollPoll field consumed when encoding this options table.

WebhookMessageEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
attachmentsAttachments field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
threadIdThread Id field consumed when encoding this options table.

ChannelWebhookCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
avatarAvatar field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

WebhookFetchMessageOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
threadIdThread Id field consumed when encoding this options table.
cacheCache field consumed when encoding this options table.

AutoModerationRuleCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
eventTypeEvent Type field consumed when encoding this options table.
triggerTypeTrigger Type field consumed when encoding this options table.
triggerMetadataTrigger Metadata field consumed when encoding this options table.
actionsActions field consumed when encoding this options table.
enabledEnabled field consumed when encoding this options table.
exemptRolesExempt Roles field consumed when encoding this options table.
exemptChannelsExempt Channels field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

AutoModerationRuleEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
eventTypeEvent Type field consumed when encoding this options table.
triggerMetadataTrigger Metadata field consumed when encoding this options table.
actionsActions field consumed when encoding this options table.
enabledEnabled field consumed when encoding this options table.
exemptRolesExempt Roles field consumed when encoding this options table.
exemptChannelsExempt Channels field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

FetchAutoModerationRuleOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

FetchAutoModerationRulesOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.

GuildScheduledEventCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
scheduledStartTimeScheduled Start Time field consumed when encoding this options table.
scheduledEndTimeScheduled End Time field consumed when encoding this options table.
privacyLevelPrivacy Level field consumed when encoding this options table.
entityTypeEntity Type field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.
entityMetadataEntity Metadata field consumed when encoding this options table.
imageImage field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.
recurrenceRuleRecurrence Rule field consumed when encoding this options table.

GuildScheduledEventEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
scheduledStartTimeScheduled Start Time field consumed when encoding this options table.
scheduledEndTimeScheduled End Time field consumed when encoding this options table.
privacyLevelPrivacy Level field consumed when encoding this options table.
entityTypeEntity Type field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.
statusStatus field consumed when encoding this options table.
entityMetadataEntity Metadata field consumed when encoding this options table.
imageImage field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

FetchGuildScheduledEventOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.
withUserCountWith User Count field consumed when encoding this options table.

FetchGuildScheduledEventsOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
withUserCountWith User Count field consumed when encoding this options table.

StageInstanceCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
channelChannel field consumed when encoding this options table.
topicTopic field consumed when encoding this options table.
privacyLevelPrivacy Level field consumed when encoding this options table.
sendStartNotificationSend Start Notification field consumed when encoding this options table.
guildScheduledEventGuild Scheduled Event field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

StageInstanceEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
topicTopic field consumed when encoding this options table.
privacyLevelPrivacy Level field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildEmojiCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
attachmentAttachment field consumed when encoding this options table.
nameName field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildEmojiEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
rolesRoles field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

ApplicationEmojiCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
attachmentAttachment field consumed when encoding this options table.
nameName field consumed when encoding this options table.

ApplicationEmojiEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.

GuildStickerCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
fileFile field consumed when encoding this options table.
nameName field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
tagsTags field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildStickerEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
tagsTags field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

StartThreadOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
autoArchiveDurationAuto Archive Duration field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.

ThreadEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
archivedArchived field consumed when encoding this options table.
autoArchiveDurationAuto Archive Duration field consumed when encoding this options table.
lockedLocked field consumed when encoding this options table.
invitableInvitable field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
appliedTagsApplied Tags field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildForumThreadCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
autoArchiveDurationAuto Archive Duration field consumed when encoding this options table.
messageMessage field consumed when encoding this options table.
appliedTagsApplied Tags field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildTextThreadCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
autoArchiveDurationAuto Archive Duration field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.
rateLimitPerUserRate Limit Per User field consumed when encoding this options table.
typeType field consumed when encoding this options table.
invitableInvitable field consumed when encoding this options table.

GuildForumThreadMessageCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
contentContent field consumed when encoding this options table.
embedsEmbeds field consumed when encoding this options table.
filesFiles field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
allowedMentionsAllowed Mentions field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
stickersStickers field consumed when encoding this options table.

VoiceStateEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
channelChannel field consumed when encoding this options table.
suppressSuppress field consumed when encoding this options table.
requestToSpeakRequest To Speak field consumed when encoding this options table.

ClientUserEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
usernameUsername field consumed when encoding this options table.
avatarAvatar field consumed when encoding this options table.
bannerBanner field consumed when encoding this options table.

ClientApplicationEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
customInstallUrlCustom Install Url field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
roleConnectionsVerificationUrlRole Connections Verification Url field consumed when encoding this options table.
installParamsInstall Params field consumed when encoding this options table.
flagsFlags field consumed when encoding this options table.
iconIcon field consumed when encoding this options table.
coverImageCover Image field consumed when encoding this options table.
interactionsEndpointUrlInteractions Endpoint Url field consumed when encoding this options table.
tagsTags field consumed when encoding this options table.

IncidentActionsEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
invitesDisabledUntilInvites Disabled Until field consumed when encoding this options table.
dmsDisabledUntilDms Disabled Until field consumed when encoding this options table.

PresenceData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
statusStatus field consumed when encoding this options table.
afkAfk field consumed when encoding this options table.
activitiesActivities field consumed when encoding this options table.
shardIdShard Id field consumed when encoding this options table.

ActivityOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
urlUrl field consumed when encoding this options table.
stateState field consumed when encoding this options table.

ActivitiesOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
typeType field consumed when encoding this options table.
urlUrl field consumed when encoding this options table.
stateState field consumed when encoding this options table.

ApplicationCommandPermissionsEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
permissionsPermissions field consumed when encoding this options table.
tokenToken field consumed when encoding this options table.

EntitlementCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
skuSku field consumed when encoding this options table.
userUser field consumed when encoding this options table.
guildGuild field consumed when encoding this options table.
ownerOwner field consumed when encoding this options table.

FetchEntitlementOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
cacheCache field consumed when encoding this options table.
forceForce field consumed when encoding this options table.

FetchEntitlementsOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
limitLimit field consumed when encoding this options table.
guildGuild field consumed when encoding this options table.
userUser field consumed when encoding this options table.
skusSkus field consumed when encoding this options table.
excludeEndedExclude Ended field consumed when encoding this options table.
excludeDeletedExclude Deleted field consumed when encoding this options table.

GuildSoundboardSoundCreateOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
soundSound field consumed when encoding this options table.
volumeVolume field consumed when encoding this options table.
emojiIdEmoji Id field consumed when encoding this options table.
emojiNameEmoji Name field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

GuildSoundboardSoundEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
volumeVolume field consumed when encoding this options table.
emojiIdEmoji Id field consumed when encoding this options table.
emojiNameEmoji Name field consumed when encoding this options table.
reasonReason field consumed when encoding this options table.

CollectorOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
filterFilter field consumed when encoding this options table.
timeTime field consumed when encoding this options table.
idleIdle field consumed when encoding this options table.
maxMax field consumed when encoding this options table.
disposeDispose field consumed when encoding this options table.

InteractionCollectorOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
filterFilter field consumed when encoding this options table.
timeTime field consumed when encoding this options table.
idleIdle field consumed when encoding this options table.
maxMax field consumed when encoding this options table.
maxComponentsMax Components field consumed when encoding this options table.
maxUsersMax Users field consumed when encoding this options table.
messageMessage field consumed when encoding this options table.
channelChannel field consumed when encoding this options table.
guildGuild field consumed when encoding this options table.
interactionTypeInteraction Type field consumed when encoding this options table.
componentTypeComponent Type field consumed when encoding this options table.

MessageCollectorOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
filterFilter field consumed when encoding this options table.
timeTime field consumed when encoding this options table.
idleIdle field consumed when encoding this options table.
maxMax field consumed when encoding this options table.
maxProcessedMax Processed field consumed when encoding this options table.

ReactionCollectorOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
filterFilter field consumed when encoding this options table.
timeTime field consumed when encoding this options table.
idleIdle field consumed when encoding this options table.
maxMax field consumed when encoding this options table.
maxEmojisMax Emojis field consumed when encoding this options table.
maxUsersMax Users field consumed when encoding this options table.

WelcomeScreenEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
enabledEnabled field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.
welcomeChannelsWelcome Channels field consumed when encoding this options table.

GuildOnboardingEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
promptsPrompts field consumed when encoding this options table.
defaultChannelsDefault Channels field consumed when encoding this options table.
enabledEnabled field consumed when encoding this options table.
modeMode field consumed when encoding this options table.

GuildTemplateEditOptions

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
nameName field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.

FileUploadModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valuesValues field consumed when encoding this options table.

RadioGroupModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valuesValues field consumed when encoding this options table.

CheckboxGroupModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valuesValues field consumed when encoding this options table.

CheckboxModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valueValue field consumed when encoding this options table.

LabelModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
idId field consumed when encoding this options table.
labelLabel field consumed when encoding this options table.
componentComponent field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.

LabelData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
idId field consumed when encoding this options table.
labelLabel field consumed when encoding this options table.
componentComponent field consumed when encoding this options table.
descriptionDescription field consumed when encoding this options table.

FileUploadComponentData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
minValuesMin Values field consumed when encoding this options table.
maxValuesMax Values field consumed when encoding this options table.
requiredRequired field consumed when encoding this options table.

RadioGroupComponentData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
requiredRequired field consumed when encoding this options table.
optionsOptions field consumed when encoding this options table.

CheckboxGroupComponentData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
minValuesMin Values field consumed when encoding this options table.
maxValuesMax Values field consumed when encoding this options table.
requiredRequired field consumed when encoding this options table.
optionsOptions field consumed when encoding this options table.

CheckboxComponentData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valueValue field consumed when encoding this options table.
requiredRequired field consumed when encoding this options table.

TextInputModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valueValue field consumed when encoding this options table.

SelectMenuModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
customIdCustom Id field consumed when encoding this options table.
idId field consumed when encoding this options table.
valuesValues field consumed when encoding this options table.

TextDisplayModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
idId field consumed when encoding this options table.
contentContent field consumed when encoding this options table.

ModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
customIdCustom Id field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
titleTitle field consumed when encoding this options table.

ActionRowModalData

Option table. Construct a Lua table with the fields below and pass it to the matching manager or structure method.

FieldRole
typeType field consumed when encoding this options table.
idId field consumed when encoding this options table.
componentsComponents field consumed when encoding this options table.
Search Ctrl K Navigate Open Esc