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

query about audit log events for integrations #1194

Closed
NCPlayz opened this issue Nov 19, 2019 · 2 comments
Closed

query about audit log events for integrations #1194

NCPlayz opened this issue Nov 19, 2019 · 2 comments
Labels

Comments

@NCPlayz
Copy link
Contributor

NCPlayz commented Nov 19, 2019

Just had a few questions about the new integration types.

For the following action types:

INTEGRATION_CREATE: 80
INTEGRATION_UPDATE: 81
INTEGRATION_DELETE: 82

How are they sent to the audit log; is the target_id the application id of the integration? Or are there any options provided? Wanted to implement these but didn't have an integration on hand to test it.

@Auralytical
Copy link
Contributor

Auralytical commented Nov 19, 2019

target_id for integration events should be the id of the integration itself - the same one you get from the guild integrations endpoint (https://discordapp.com/developers/docs/resources/guild#integration-object)

@Auralytical
Copy link
Contributor

Auralytical commented Nov 19, 2019

As for options: name, type, account_id, enable_emoticons (Twitch), expire_behavior and expire_grave_period are currently provided if changed

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

No branches or pull requests

3 participants