Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 678 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 678 Bytes

Discord Webhooks

Very simple example to send Discord messages through webhooks in golang.

Is possibly define a list of webhooks and use one of this by a prefix channel ID or alias defined. See discordwh.conf-example for details.

Packages used:

Use

discordwh [-u username] [-a avatar-url] [--dry-run] channel "message"
  • username Username used for message.
  • avatar-url Avatar image URL.
  • channel Full or partial channel ID, alias (configured) or channel URL.
  • message Text of message.
  • dry-run Use this parameter to perform a trial run without send the message.