Skip to content

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

License

Notifications You must be signed in to change notification settings

guimauvedigital/webhooks

Repository files navigation

webhooks

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

Discord

dependencies {
    implementation("digital.guimauve.webhooks:discord:1.0.2")
}
val sendDiscordWebhookUseCase = SendDiscordWebhookUseCase()
sendDiscordWebhookUseCase("<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

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages