ApplicationRoleConnectionMetadataType

Each ApplicationRoleConnectionMetadataType offers a comparison operation that allows guilds to configure role requirements based on metadata values stored by the bot. Bots specify a 'metadata value' for each user and guilds specify the required 'guild's configured value' within the guild role settings.

See ApplicationRoleConnectionMetadataTypes in the Discord Developer Documentation.

Inheritors

Types

Link copied to clipboard

The metadata value (integer) is equal to the guild's configured value (integer; 1).

Link copied to clipboard

The metadata value (integer) is not equal to the guild's configured value (integer; 1).

Link copied to clipboard
object Companion
Link copied to clipboard

The metadata value (ISO8601 string) is greater than or equal to the guild's configured value (integer; days before current date).

Link copied to clipboard

The metadata value (ISO8601 string) is less than or equal to the guild's configured value (integer; days before current date).

Link copied to clipboard

The metadata value (integer) is equal to the guild's configured value (integer).

Link copied to clipboard

The metadata value (integer) is greater than or equal to the guild's configured value (integer).

Link copied to clipboard

The metadata value (integer) is less than or equal to the guild's configured value (integer).

Link copied to clipboard

The metadata value (integer) is not equal to the guild's configured value (integer).

Properties

Link copied to clipboard
val value: Int

The raw value used by Discord.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun toString(): String