DiscordLua
discorddiscord
v1.2.4
Install

GuildOnboardingPrompt

Class
On this page

GuildOnboardingPrompt is a DiscordLua class representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.

class Module 1.2.4 Source

Properties

GuildOnboardingPrompt.client

# readonly
Name
client
Type
any
Access
readonly
Description
Owning Client instance used for REST, cache, and event dispatch.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.guildId

# readonly
Name
guildId
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.guildId. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.id

# readonly
Name
id
Type
any
Access
readonly
Description
Snowflake id of this GuildOnboardingPrompt.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.inOnboarding

# readonly
Name
inOnboarding
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.inOnboarding. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.options

# readonly
Name
options
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.options. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.raw

# readonly
Name
raw
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.raw. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.required

# readonly
Name
required
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.required. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.singleSelect

# readonly
Name
singleSelect
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.singleSelect. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.title

# readonly
Name
title
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.title. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

GuildOnboardingPrompt.type

# readonly
Name
type
Type
any
Access
readonly
Description
Instance field GuildOnboardingPrompt.type. Read it after the object is constructed or wrapped from Gateway/REST data.
Availability
Populated from the Gateway/REST payload or constructor for this GuildOnboardingPrompt.

Methods

GuildOnboardingPrompt:guild()

#

Performs guild on this GuildOnboardingPrompt. Call it from bot code when you need that operation on the current object.

Signature

GuildOnboardingPrompt:guild()

Parameters

No parameters.

Returns

GuildOnboardingPrompt — the same instance, for chaining.

Example

lua
local discord = require("discord")
-- object is a GuildOnboardingPrompt
object:guild()

Examples

Obtain this object from a manager, wrap helper, or event payload — it is not constructed directly in typical bot code.

ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationRoleConnectionMetadata · Attachment

Version: discord 1.2.4 · runtime 1.0.0

Search Ctrl K Navigate Open Esc