discord

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package discord sends notifications to Discord channels via webhooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(webhookURL, message string) error

Send posts a message to a Discord channel via webhook URL.

func SendVoice added in v0.2.5

func SendVoice(webhookURL, wavPath, caption string) error

SendVoice uploads a WAV file to a Discord channel via webhook URL. The caption is sent as the message content alongside the attachment.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL