JoinRequest

class JoinRequest(val data: JoinRequestData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : KordEntity(source)

Constructors

Link copied to clipboard
constructor(data: JoinRequestData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard

A snowflake representing when the join request was actioned

Link copied to clipboard

The actionedAt snowflake formated as an Instant

Link copied to clipboard

The moderator that actioned the request

Link copied to clipboard

The status of the application

Link copied to clipboard

When the join request was created

Link copied to clipboard
Link copied to clipboard

Responses to the verification questions

Link copied to clipboard

The ID of the guild this join request is for

Link copied to clipboard
open override val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard

The ID of the channel where an interview regarding this join request may be conducted

Link copied to clipboard

The ID of the join request

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

When the request was acknowledged by the user

Link copied to clipboard

The reason given for rejecting the join request

Link copied to clipboard
Link copied to clipboard

The user that created this join request

Link copied to clipboard

The Id of the user who created this join request

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
suspend fun getGuild(): Guild

Requests the Guild with the given id.

Link copied to clipboard
suspend fun getGuildOrNull(): Guild?

Requests the Guild with the given id, returns null when the guild isn't present.

Link copied to clipboard

Requests the Channel with the given id.

Link copied to clipboard

Requests the Channel with the given id, returns null when the channel isn't present.