MFALevel

@Serializable(with = MFALevel.Serializer::class)
sealed class MFALevel(source)

See MFALevels in the Discord Developer Documentation.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Guild has a 2FA requirement for moderation actions.

Link copied to clipboard
object None : MFALevel

Guild has no MFA/2FA requirement for moderation actions.

Link copied to clipboard

An unknown MFALevel.

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