fix(examples): add missing argument

This commit is contained in:
Fedor Lapshin
2024-03-15 20:58:07 +03:00
parent 1b71b75547
commit 47b0cbbb57

View File

@@ -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)
}