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

feat(APIAuditLogChangeData): Add communication_disabled_until #281

Merged
merged 1 commit into from
Dec 27, 2021
Merged

feat(APIAuditLogChangeData): Add communication_disabled_until #281

merged 1 commit into from
Dec 27, 2021

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
Adds communication_disabled_until to the audit logs.

Reference Discord API Docs PRs or commits:
N/A

@vladfrangu
Copy link
Member

Can it be null too?

@Jiralite
Copy link
Member Author

Jiralite commented Dec 27, 2021

Not that I can see. Disabling a guild member's communication yields this:

{
  key: 'communication_disabled_until',
  old: undefined,
  new: '2021-12-27T16:08:10.740000+00:00'
}

Whilst removing it manually yields:

{
  key: 'communication_disabled_until',
  old: '2021-12-27T16:08:10.740000+00:00',
  new: undefined
}

@vladfrangu
Copy link
Member

Right.....the quirk I documented

@vladfrangu vladfrangu changed the title feat(AuditLogChangeData): Add communication_disabled_until feat(APIAuditLogChangeData): Add communication_disabled_until Dec 27, 2021
@vladfrangu vladfrangu merged commit 0cf51ab into discordjs:main Dec 27, 2021
@Jiralite Jiralite deleted the timeout-audit branch December 27, 2021 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants