DiscordEmbed

@Serializable
data class DiscordEmbed(val title: String, val description: String, val color: Int, val fields: List<DiscordEmbedField> = emptyList(), val timestamp: String? = null, val footer: DiscordEmbed.Footer? = null)

Discord Embedオブジェクト

Constructors

Link copied to clipboard
constructor(title: String, description: String, color: Int, fields: List<DiscordEmbedField> = emptyList(), timestamp: String? = null, footer: DiscordEmbed.Footer? = null)

Types

Link copied to clipboard
@Serializable
data class Footer(val text: String)

Embedのフッター

Properties

Link copied to clipboard
val color: Int

Embedの色(10進数)

Link copied to clipboard

Embedの説明文

Link copied to clipboard

Embedのフィールド一覧

Link copied to clipboard

Embedのフッター

Link copied to clipboard

ISO 8601形式のタイムスタンプ

Link copied to clipboard

Embedのタイトル