
Simple messaging webhooks facilitate easy alerting and monitoring in applications, featuring Discord integration with customizable message content, embeds, and user-defined attributes. More platforms coming soon.
Simple messaging webhooks for easy alerting & monitoring in your applications.
dependencies {
implementation("digital.guimauve.webhooks:discord:1.1.0")
}val discordWebhookService = DiscordWebhookServiceImpl()
discordWebhookService.send("<your webhook url>") {
username = "Kotlin Bot"
avatarUrl = "..."
content = "Hello from Kotlin!"
embed {
title = "Ktor & Discord"
description = "This embed was created with a DSL"
color = 0x00FF00
field("Field 1", "Some value", inline = true)
footer("Made with ❤️")
}
}Simple messaging webhooks for easy alerting & monitoring in your applications.
dependencies {
implementation("digital.guimauve.webhooks:discord:1.1.0")
}val discordWebhookService = DiscordWebhookServiceImpl()
discordWebhookService.send("<your webhook url>") {
username = "Kotlin Bot"
avatarUrl = "..."
content = "Hello from Kotlin!"
embed {
title = "Ktor & Discord"
description = "This embed was created with a DSL"
color = 0x00FF00
field("Field 1", "Some value", inline = true)
footer("Made with ❤️")
}
}