We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8313b5d commit 663b921Copy full SHA for 663b921
services/webhook/discord.go
@@ -57,7 +57,7 @@ type (
57
DiscordPayload struct {
58
Wait bool `json:"wait"`
59
Content string `json:"content"`
60
- Username string `json:"username"`
+ Username string `json:"username,omitempty"`
61
AvatarURL string `json:"avatar_url,omitempty"`
62
TTS bool `json:"tts"`
63
Embeds []DiscordEmbed `json:"embeds"`
0 commit comments