notify

abstract fun notify(eventType: WebhookEventType, title: String, description: String, color: Int, fields: List<Pair<String, String>> = emptyList())

通知を非同期で送信する(fire-and-forget) 該当イベントが有効なエンドポイントにのみ送信される

Parameters

eventType

通知対象のイベント種別

title

Embed のタイトル

description

Embed の説明文

color

Embed の色(10進数)

fields

フィールド一覧(name to value)