Skip to content

Commit f9d9dbb

Browse files
authored
Merge branch 'main' into resvg
2 parents f7953ab + 09d1f35 commit f9d9dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/webhook/discord.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type (
5757
DiscordPayload struct {
5858
Wait bool `json:"wait"`
5959
Content string `json:"content"`
60-
Username string `json:"username"`
60+
Username string `json:"username,omitempty"`
6161
AvatarURL string `json:"avatar_url,omitempty"`
6262
TTS bool `json:"tts"`
6363
Embeds []DiscordEmbed `json:"embeds"`

0 commit comments

Comments
 (0)