mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 00:32:03 +00:00
types: add all types for GuildAuditLogsEntry#target (#4738)
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
This commit is contained in:
parent
46acfac327
commit
2dc70af717
1 changed files with 12 additions and 1 deletions
13
typings/index.d.ts
vendored
13
typings/index.d.ts
vendored
|
|
@ -748,7 +748,18 @@ declare module 'discord.js' {
|
||||||
public extra: object | Role | GuildMember | null;
|
public extra: object | Role | GuildMember | null;
|
||||||
public id: Snowflake;
|
public id: Snowflake;
|
||||||
public reason: string | null;
|
public reason: string | null;
|
||||||
public target: Guild | User | Role | GuildEmoji | Invite | Webhook | Integration | null;
|
public target:
|
||||||
|
| Guild
|
||||||
|
| GuildChannel
|
||||||
|
| User
|
||||||
|
| Role
|
||||||
|
| GuildEmoji
|
||||||
|
| Invite
|
||||||
|
| Webhook
|
||||||
|
| Message
|
||||||
|
| Integration
|
||||||
|
| { id: Snowflake }
|
||||||
|
| null;
|
||||||
public targetType: GuildAuditLogsTarget;
|
public targetType: GuildAuditLogsTarget;
|
||||||
public toJSON(): object;
|
public toJSON(): object;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue