Skip to content

Commit

Permalink
fix(examples): add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Mar 15, 2024
1 parent 1b71b75 commit 47b0cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/avatar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func main() {
// Now lets format our base64 image into the proper format Discord wants
// and then call UserUpdate to set it as our user's Avatar.
avatar := fmt.Sprintf("data:%s;base64,%s", contentType, base64img)
_, err = dg.UserUpdate("", avatar)
_, err = dg.UserUpdate("", avatar, "")
if err != nil {
fmt.Println(err)
}
Expand Down

0 comments on commit 47b0cbb

Please sign in to comment.