-
Notifications
You must be signed in to change notification settings - Fork 808
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
Add support for integration events #1545
Add support for integration events #1545
Conversation
events.go
Outdated
|
||
// IntegrationDelete is the data for a IntegrationDelete event. | ||
type IntegrationDelete struct { | ||
*Integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The payload isn't an Integration
object. Rather it's
*Integration | |
ID string `json:"id"` | |
GuildID string `json:"guild_id"` | |
ApplicationID string `json:"application_id,omitempty"` |
P.S. This is unformatted.
Co-authored-by: Fedor Lapshin <[email protected]>
@FedorLap2006 requested changes have been made |
@FedorLap2006 do you know why it is saying that the format check failed? Also it seems I am not able to merge the PR. Does the merge have to be performed by a maintainer? |
…cordgo into suhaibinator-new-events
Discordgo does not currently support Integration creates, updates, and deletes. This PR adds support for that.
See also