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: remove InteractionResponseFlags in favor of discord.MessageFlags #338

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

samhza
Copy link
Contributor

@samhza samhza commented Aug 19, 2022

InteractionResponseFlags is the same as MessageFlags so we can just use MessageFlags instead.
See docs:
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-messages

This is an API change. Use the following commands to update your
projects:

$ gofmt -w -r 'api.InteractionResponseFlags -> discord.MessageFlags'
$ gofmt -w -r 'api.EphemeralResponse -> discord.EphemeralMessage'

See docs:
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-messages

This is an API change. Use the following commands to update your
projects:

	$ gofmt -w -r 'api.InteractionResponseFlags -> discord.MessageFlags'
	$ gofmt -w -r 'api.EphemeralResponse -> discord.EphemeralMessage'
@diamondburned diamondburned merged commit eb579c8 into diamondburned:v3 Aug 19, 2022
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.

2 participants