Skip to content

Commit

Permalink
types(GuildAuditLogsEntryExtraField): Use AuditLogOptionsType (#8349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jul 24, 2022
1 parent 3839958 commit 200ab91
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/discord.js/typings/index.d.ts
Expand Up @@ -122,6 +122,7 @@ import {
ThreadAutoArchiveDuration,
FormattingPatterns,
APIEmbedProvider,
AuditLogOptionsType,
} from 'discord-api-types/v10';
import { ChildProcess } from 'node:child_process';
import { EventEmitter } from 'node:events';
Expand Down Expand Up @@ -4618,18 +4619,18 @@ export interface GuildAuditLogsEntryExtraField {
[AuditLogEvent.ChannelOverwriteCreate]:
| Role
| GuildMember
| { id: Snowflake; name: string; type: 'Role' }
| { id: Snowflake; type: 'Member' };
| { id: Snowflake; name: string; type: AuditLogOptionsType.Role }
| { id: Snowflake; type: AuditLogOptionsType.Member };
[AuditLogEvent.ChannelOverwriteUpdate]:
| Role
| GuildMember
| { id: Snowflake; name: string; type: 'Role' }
| { id: Snowflake; type: 'Member' };
| { id: Snowflake; name: string; type: AuditLogOptionsType.Role }
| { id: Snowflake; type: AuditLogOptionsType.Member };
[AuditLogEvent.ChannelOverwriteDelete]:
| Role
| GuildMember
| { id: Snowflake; name: string; type: OverwriteType.Role }
| { id: Snowflake; type: OverwriteType.Member };
| { id: Snowflake; name: string; type: AuditLogOptionsType.Role }
| { id: Snowflake; type: AuditLogOptionsType.Member };
[AuditLogEvent.StageInstanceCreate]: StageChannel | { id: Snowflake };
[AuditLogEvent.StageInstanceDelete]: StageChannel | { id: Snowflake };
[AuditLogEvent.StageInstanceUpdate]: StageChannel | { id: Snowflake };
Expand Down

1 comment on commit 200ab91

@vercel
Copy link

@vercel vercel bot commented on 200ab91 Jul 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.