Skip to content

Repository files navigation

webhooks

Simple messaging webhooks for easy alerting & monitoring in your applications.

Discord

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 ❤️")
    }
}

More platforms coming soon!

About

Simple messaging webhooks for easy alerting & monitoring in your applications.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages