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 998b6b8 commit 09d1f35Copy full SHA for 09d1f35
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