Documentation

discord package

The discord package is a user-contributed package maintained by the package author.

The discord package provides functions for sending messages to Discord. Import the contrib/chobbs/discord package:

import "contrib/chobbs/discord"

Options

option discord.discordURL = "https://discordapp.com/api/webhooks/"

discordURL

discordURL is the Discord webhook URL. Default is https://discordapp.com/api/webhooks/.

Functions


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more