CommandProperties

A command properties class that lets us pass things to the CommandHandler execute method.
data class CommandProperties(silent: Boolean,isConfirmation: Boolean,bypassCooldown: Boolean)

Constructors

<init>
Link copied to clipboard
fun <init>(silent: Boolean, isConfirmation: Boolean, bypassCooldown: Boolean)

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component2
Link copied to clipboard
operator fun component2(): Boolean
component3
Link copied to clipboard
operator fun component3(): Boolean
copy
Link copied to clipboard
fun copy(silent: Boolean, isConfirmation: Boolean, bypassCooldown: Boolean): CommandProperties
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

bypassCooldown
Link copied to clipboard
val bypassCooldown: Boolean
isConfirmation
Link copied to clipboard
val isConfirmation: Boolean
silent
Link copied to clipboard
val silent: Boolean