Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't set embed at once with Inline Message, InlineMessageBuilder #16

Closed
cra1nbow opened this issue Oct 11, 2021 · 0 comments · Fixed by #17
Closed

can't set embed at once with Inline Message, InlineMessageBuilder #16

cra1nbow opened this issue Oct 11, 2021 · 0 comments · Fixed by #17

Comments

@cra1nbow
Copy link
Contributor

var embed: MessageEmbed? = null
set(value) {
builder.setEmbed(embed)
field = value
}

embed setter must be like

var embed: MessageEmbed? = null
  set(value) {
    builder.setEmbed(value)
    field = value
  }

and the nonce field is the save as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant