aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/webhook/discord.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/discord.go b/services/webhook/discord.go
index f65a8648c4..82c5ce1054 100644
--- a/services/webhook/discord.go
+++ b/services/webhook/discord.go
@@ -54,7 +54,7 @@ type (
Wait bool `json:"wait"`
Content string `json:"content"`
Username string `json:"username"`
- AvatarURL string `json:"avatar_url"`
+ AvatarURL string `json:"avatar_url,omitempty"`
TTS bool `json:"tts"`
Embeds []DiscordEmbed `json:"embeds"`
}