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

api: add missing slash command endpoints #252

Merged

Conversation

mavolin
Copy link
Contributor

@mavolin mavolin commented Aug 2, 2021

Closes #204.

@mavolin mavolin added the enhancement New feature or request label Aug 2, 2021
@mavolin mavolin self-assigned this Aug 2, 2021
@diamondburned
Copy link
Owner

Seems like this PR breaks some examples. Can you fix them?

+ go build ./_example/advanced_bot ./_example/buttons ./_example/commands ./_example/sharded ./_example/simple ./_example/undeleter
# github.com/diamondburned/arikawa/v3/_example/buttons
_example/buttons/main.go:38:6: cannot use option.NewNullableString("This is a message with a button!") (type *option.NullableStringData) as type string in field value
_example/buttons/main.go:39:6: cannot use &[]discord.Component{...} (type *[]discord.Component) as type []discord.Component in field value
_example/buttons/main.go:88:5: cannot use option.NewNullableString("Custom ID: " + e.Data.CustomID) (type *option.NullableStringData) as type string in field value
# github.com/diamondburned/arikawa/v3/_example/commands
_example/commands/main.go:36:5: cannot use option.NewNullableString("Pong!") (type *option.NullableStringData) as type string in field value

(see CI logs)

…EditOriginalResponse, and .DeleteOriginalResponse
@diamondburned diamondburned merged commit 101fe46 into diamondburned:v3 Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants