Rank

data class Rank(val name: String, val displayName: String, val color: String, val bitsPerMinute: Long = 1, val weight: Int = 0, val parent: Rank? = null, val discordRoleID: String? = null)(source)

Constructors

Link copied to clipboard
constructor(name: String, displayName: String, color: String, bitsPerMinute: Long = 1, weight: Int = 0, parent: Rank? = null, discordRoleID: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val discordRoleID: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val parent: Rank? = null
Link copied to clipboard
val weight: Int = 0

Functions

Link copied to clipboard
Link copied to clipboard
fun updateRole(userID: String)