ComplianceBlock

@Serializable
@SerialName(value = "compliance")
data class ComplianceBlock(val id: String, val role: Snowflake, val title: String, val buttonText: String, val logChannel: Snowflake, val complianceTypeUser: String, val template: String = "__**{TITLE}**__\n\n" + "By clicking the button below, you certify that:\n\n" + "**»** {COMPLIANCE_TYPE_USER}\n\n" + "**Please note:** Once you certify the above, you can't revoke your certification. If you decide to " + "certify the above when it's not true, you may be punished or removed from the server.", val complianceTypeLogs: String = complianceTypeUser .replace("You", "They") .replace("you", "they")) : Block, InteractionBlock, KordExKoinComponent

Constructors

Link copied to clipboard
constructor(id: String, role: Snowflake, title: String, buttonText: String, logChannel: Snowflake, complianceTypeUser: String, template: String = "__**{TITLE}**__\n\n" + "By clicking the button below, you certify that:\n\n" + "**»** {COMPLIANCE_TYPE_USER}\n\n" + "**Please note:** Once you certify the above, you can't revoke your certification. If you decide to " + "certify the above when it's not true, you may be punished or removed from the server.", complianceTypeLogs: String = complianceTypeUser .replace("You", "They") .replace("you", "they"))

Properties

Link copied to clipboard
Link copied to clipboard
@Transient
lateinit var channel: GuildMessageChannel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
lateinit var guild: Guild
Link copied to clipboard
val id: String
Link copied to clipboard
val kord: Kord
Link copied to clipboard
val logChannel: Snowflake
Link copied to clipboard
val role: Snowflake
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun create(builder: MessageCreateBuilder)
Link copied to clipboard
open suspend override fun edit(builder: MessageModifyBuilder)
Link copied to clipboard
open override fun getKoin(): Koin
Link copied to clipboard
open suspend override fun handleInteraction(event: InteractionCreateEvent)