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

v3: discord: add ChannelType field to CommandOption #279

Merged
merged 2 commits into from
Sep 28, 2021

Conversation

starshine-sys
Copy link
Contributor

discord/discord-api-docs#3825

Bit hacky because of the []uint16, but it works

discord/application.go Show resolved Hide resolved
discord/application.go Show resolved Hide resolved
Co-authored-by: diamondburned <diamond@arikawa-hi.me>
@diamondburned diamondburned merged commit 8ea320c into diamondburned:v3 Sep 28, 2021
diamondburned added a commit that referenced this pull request Nov 4, 2021
* discord: add ChannelType field to CommandOption

* preallocate option.ChannelTypes

Co-authored-by: diamondburned <diamond@arikawa-hi.me>

Co-authored-by: diamondburned <diamond@arikawa-hi.me>
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 this pull request may close these issues.

None yet

2 participants